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