xref: /freebsd/sbin/ipf/libipf/initparse.c (revision 41edb306f05651fcaf6c74f9e3557f59f80292e1)
1*41edb306SCy Schubert /*	$FreeBSD$	*/
2*41edb306SCy Schubert 
3*41edb306SCy Schubert /*
4*41edb306SCy Schubert  * Copyright (C) 2012 by Darren Reed.
5*41edb306SCy Schubert  *
6*41edb306SCy Schubert  * See the IPFILTER.LICENCE file for details on licencing.
7*41edb306SCy Schubert  *
8*41edb306SCy Schubert  * $Id$
9*41edb306SCy Schubert  */
10*41edb306SCy Schubert #include "ipf.h"
11*41edb306SCy Schubert 
12*41edb306SCy Schubert 
13*41edb306SCy Schubert char	thishost[MAXHOSTNAMELEN];
14*41edb306SCy Schubert 
15*41edb306SCy Schubert 
16*41edb306SCy Schubert void initparse(void)
17*41edb306SCy Schubert {
18*41edb306SCy Schubert 	gethostname(thishost, sizeof(thishost));
19*41edb306SCy Schubert 	thishost[sizeof(thishost) - 1] = '\0';
20*41edb306SCy Schubert }
21