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