diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-01-25 10:03:33 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2014-01-25 10:03:33 +0000 |
commit | d0a5c9f5133d4c84e7bc7914dc7d40229ce0c562 (patch) | |
tree | d322d9a13ec262606e9c9791f2a127c5d8024535 /usr.bin | |
parent | 4b1e0c06a0fa6a03d0f4acfaf0038780cff3129b (diff) |
Fix printing of icps_toofreq unlike IPv6 the IPv4 value is just a u_long.
Found by csszep (at) gmail.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/netstat/inet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c index 1ed2d6b9115..5ae86ec48a7 100644 --- a/usr.bin/netstat/inet.c +++ b/usr.bin/netstat/inet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: inet.c,v 1.131 2014/01/23 23:51:53 henning Exp $ */ +/* $OpenBSD: inet.c,v 1.132 2014/01/25 10:03:32 claudio Exp $ */ /* $NetBSD: inet.c,v 1.14 1995/10/03 21:42:37 thorpej Exp $ */ /* @@ -584,7 +584,7 @@ icmp_stats(char *name) p(icps_oldicmp, "\t%lu error%s not generated because old message was icmp\n"); p(icps_toofreq, - "\t%llu error%s not generated because of rate limitation\n"); + "\t%lu error%s not generated because of rate limitation\n"); for (first = 1, i = 0; i < ICMP_MAXTYPE + 1; i++) if (icmpstat.icps_outhist[i] != 0) { |