summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-08-16 09:38:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-08-16 09:38:57 +0000
commit765b2039b3f8445591acfd67818c21ca0cb93ec9 (patch)
tree18f9fd1530de76180919e37e8727c4f4cfa5e04f /usr.bin
parent5549b523cab632628d47a9e1c0c6f84ba6b9e691 (diff)
ipx.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 924a5366e6f..d827d215c27 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.8 1996/08/16 09:29:32 mickey Exp $ */
+/* $OpenBSD: if.c,v 1.9 1996/08/16 09:38:56 mickey Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-static char *rcsid = "$OpenBSD: if.c,v 1.8 1996/08/16 09:29:32 mickey Exp $";
+static char *rcsid = "$OpenBSD: if.c,v 1.9 1996/08/16 09:38:56 mickey Exp $";
#endif
#endif /* not lint */
@@ -199,7 +199,7 @@ intpr(interval, ifnetaddr)
char netnum[8];
*(union ipx_net *) &net = sipx->sipx_addr.ipx_net;
- sprintf(netnum, "%lxH", ntohl(net));
+ sprintf(netnum, "%xH", ntohl(net));
upHex(netnum);
printf("ipx:%-8s", netnum);
printf("%-17s ",
@@ -214,7 +214,7 @@ intpr(interval, ifnetaddr)
char netnum[8];
*(union ns_net *) &net = sns->sns_addr.x_net;
- sprintf(netnum, "%lxH", ntohl(net));
+ sprintf(netnum, "%xH", ntohl(net));
upHex(netnum);
printf("ns:%-8s ", netnum);
printf("%-17s ",