4 * Copyright (C) 2002-2005 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
8 * $Id: printip.c,v 1.3.4.1 2006/06/16 17:21:12 darrenr Exp $
20 if (ntohl(ipa.s_addr) < 256)
21 printf("%lu", (u_long)ntohl(ipa.s_addr));
23 printf("%s", inet_ntoa(ipa));