initparse.c revision 153881
1/*	$FreeBSD: head/contrib/ipfilter/lib/initparse.c 153881 2005-12-30 11:52:26Z guido $	*/
2
3/*
4 * Copyright (C) 1993-2001 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 *
8 * $Id: initparse.c,v 1.6 2002/01/28 06:50:46 darrenr Exp $
9 */
10#include "ipf.h"
11
12
13char	thishost[MAXHOSTNAMELEN];
14
15
16void initparse __P((void))
17{
18	gethostname(thishost, sizeof(thishost));
19	thishost[sizeof(thishost) - 1] = '\0';
20}
21