1145519Sdarrenr/* $FreeBSD: releng/11.0/contrib/ipfilter/lib/initparse.c 255332 2013-09-06 23:11:19Z cy $ */ 2145510Sdarrenr 3145510Sdarrenr/* 4255332Scy * Copyright (C) 2012 by Darren Reed. 5145510Sdarrenr * 6145510Sdarrenr * See the IPFILTER.LICENCE file for details on licencing. 7145510Sdarrenr * 8255332Scy * $Id$ 9145510Sdarrenr */ 10145510Sdarrenr#include "ipf.h" 11145510Sdarrenr 12145510Sdarrenr 13145510Sdarrenrchar thishost[MAXHOSTNAMELEN]; 14145510Sdarrenr 15145510Sdarrenr 16145510Sdarrenrvoid initparse __P((void)) 17145510Sdarrenr{ 18145510Sdarrenr gethostname(thishost, sizeof(thishost)); 19145510Sdarrenr thishost[sizeof(thishost) - 1] = '\0'; 20145510Sdarrenr} 21