17c478bd9Sstevel@tonic-gate /* 27c478bd9Sstevel@tonic-gate * Copyright (C) 1993-2001 by Darren Reed. 37c478bd9Sstevel@tonic-gate * 47c478bd9Sstevel@tonic-gate * See the IPFILTER.LICENCE file for details on licencing. 57c478bd9Sstevel@tonic-gate * 67c478bd9Sstevel@tonic-gate * $Id: initparse.c,v 1.6 2002/01/28 06:50:46 darrenr Exp $ 77c478bd9Sstevel@tonic-gate */ 87c478bd9Sstevel@tonic-gate #include "ipf.h" 97c478bd9Sstevel@tonic-gate 107c478bd9Sstevel@tonic-gate 117c478bd9Sstevel@tonic-gate char thishost[MAXHOSTNAMELEN]; 127c478bd9Sstevel@tonic-gate 137c478bd9Sstevel@tonic-gate initparse(void)147c478bd9Sstevel@tonic-gatevoid initparse __P((void)) 157c478bd9Sstevel@tonic-gate { 167c478bd9Sstevel@tonic-gate gethostname(thishost, sizeof(thishost)); 177c478bd9Sstevel@tonic-gate thishost[sizeof(thishost) - 1] = '\0'; 187c478bd9Sstevel@tonic-gate } 19