4 * Copyright (C) 2002-2005 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
11 #define PRINTF (void)printf
12 #define FPRINTF (void)fprintf
14 ip_pool_node_t
*printpoolnode(np
, opts
)
19 if ((opts
& OPT_DEBUG
) == 0) {
21 if (np
->ipn_info
== 1)
23 printip((u_32_t
*)&np
->ipn_addr
.adf_addr
.in4
);
24 printmask((u_32_t
*)&np
->ipn_mask
.adf_addr
);
26 PRINTF("\tAddress: %s%s", np
->ipn_info
? "! " : "",
27 inet_ntoa(np
->ipn_addr
.adf_addr
.in4
));
28 printmask((u_32_t
*)&np
->ipn_mask
.adf_addr
);
29 PRINTF("\t\tHits %lu\tName %s\tRef %d\n",
30 np
->ipn_hits
, np
->ipn_name
, np
->ipn_ref
);