diff options
-rw-r--r-- | sbin/ipnat/ipnat.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sbin/ipnat/ipnat.c b/sbin/ipnat/ipnat.c index 18b1f2c2800..de26edd820d 100644 --- a/sbin/ipnat/ipnat.c +++ b/sbin/ipnat/ipnat.c @@ -1,4 +1,4 @@ -/* $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. * @@ -192,7 +192,7 @@ void *ptr; 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 { @@ -222,7 +222,7 @@ void *ptr; } 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); } @@ -266,8 +266,7 @@ int fd, opts; 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"); |