/* $FreeBSD: releng/10.3/contrib/ipfilter/lib/initparse.c 255332 2013-09-06 23:11:19Z cy $ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. * * $Id$ */ #include "ipf.h" char thishost[MAXHOSTNAMELEN]; void initparse __P((void)) { gethostname(thishost, sizeof(thishost)); thishost[sizeof(thishost) - 1] = '\0'; }