summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-14 11:02:06 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1997-02-14 11:02:06 +0000
commit3e5ea9614ef933ed661136e19ccbd7c0c4da99f3 (patch)
tree68994814ab425fc2793fc5c26847cd0672f5a37f /sbin
parentf8cf877b225cbab8d86d094fa92722edb33cff2e (diff)
64-bit clean
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipnat/ipnat.c9
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");