xref: /illumos-gate/usr/src/cmd/ipf/lib/initparse.c (revision f3ac678143127d4c6c1793fadabb5ded04e127b6)
1*f3ac6781SToomas Soome /*
2*f3ac6781SToomas Soome  * Copyright (C) 1993-2001 by Darren Reed.
3*f3ac6781SToomas Soome  *
4*f3ac6781SToomas Soome  * See the IPFILTER.LICENCE file for details on licencing.
5*f3ac6781SToomas Soome  *
6*f3ac6781SToomas Soome  * $Id: initparse.c,v 1.6 2002/01/28 06:50:46 darrenr Exp $
7*f3ac6781SToomas Soome  */
8*f3ac6781SToomas Soome #include "ipf.h"
9*f3ac6781SToomas Soome 
10*f3ac6781SToomas Soome 
11*f3ac6781SToomas Soome char	thishost[MAXHOSTNAMELEN];
12*f3ac6781SToomas Soome 
13*f3ac6781SToomas Soome 
initparse(void)14*f3ac6781SToomas Soome void initparse __P((void))
15*f3ac6781SToomas Soome {
16*f3ac6781SToomas Soome 	gethostname(thishost, sizeof(thishost));
17*f3ac6781SToomas Soome 	thishost[sizeof(thishost) - 1] = '\0';
18*f3ac6781SToomas Soome }
19