-/* $OpenBSD: ipnat.c,v 1.12 1997/02/13 23:33:37 kstailey Exp $ */
+/* $OpenBSD: ipnat.c,v 1.13 1997/02/14 11:02:05 niklas Exp $ */
/*
* (C)opyright 1993,1994,1995 by Darren Reed.
*
printf(" udp");
printf("\n");
if (verbose)
- printf("\t%x %u %x %u %x %d\n", (u_int)np->in_ifp,
+ printf("\t%p %u %x %u %p %d\n", np->in_ifp,
np->in_space, np->in_flags, np->in_pnext, np,
np->in_use);
} else {
}
printf("\n");
if (verbose)
- printf("\t%x %u %s %d %x\n", (u_int)np->in_ifp,
+ printf("\t%p %u %s %d %x\n", np->in_ifp,
np->in_space, inet_ntoa(np->in_nextip),
np->in_pnext, np->in_flags);
}
ns.ns_added, ns.ns_expire);
printf("inuse\t%lu\n", ns.ns_inuse);
if (opts & OPT_VERBOSE)
- printf("table %#x list %#x\n",
- (u_int)ns.ns_table, (u_int)ns.ns_list);
+ printf("table %p list %p\n", ns.ns_table, ns.ns_list);
}
if (opts & OPT_LIST) {
printf("List of active MAP/Redirect filters:\n");