4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
15 printhostmask( int family, u_32_t *addr, u_32_t *mask)
23 if ((family == -1) || ((!addr || !*addr) && (!mask || !*mask)))
29 PRINTF("%s", inet_ntop(family, ptr, ipbuf, sizeof(ipbuf)));
32 PRINTF("%s", inet_ntoa(ipa));
35 printmask(family, mask);