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