]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/ipfilter/lib/initparse.c
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / ipfilter / lib / initparse.c
1 /*      $FreeBSD$       */
2
3 /*
4  * Copyright (C) 2000-2002 by Darren Reed.
5  *
6  * See the IPFILTER.LICENCE file for details on licencing.
7  *
8  * $Id: initparse.c,v 1.6.4.1 2006/06/16 17:21:02 darrenr Exp $
9  */
10 #include "ipf.h"
11
12
13 char    thishost[MAXHOSTNAMELEN];
14
15
16 void initparse __P((void))
17 {
18         gethostname(thishost, sizeof(thishost));
19         thishost[sizeof(thishost) - 1] = '\0';
20 }