2 * Copyright (C) 2012 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: printhost.c,v 1.3.2.2 2012/07/22 08:04:24 darren_r Exp $
13 printhost(family, addr)
23 if ((family == -1) || !*addr)
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
32 PRINTF("%s", inet_ntoa(ipa));