summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorMartijn van Duren <martijn@cvs.openbsd.org>2021-10-23 09:42:15 +0000
committerMartijn van Duren <martijn@cvs.openbsd.org>2021-10-23 09:42:15 +0000
commita89ed23fdd49a0443fb4f3c122d61a846c63f84c (patch)
tree0fe5c490725e51edca1956fc313945b5807c1be2 /usr.sbin/tcpdump
parent1d93dcaad76805477d82b8299b681a271d660735 (diff)
We define Unsigned32 as [Application 7], which was part of RFC1442 (1993),
but was removed in RFC1902 (1996), where it was made equal to Gauge32. There's no real harm in keeping it, since nothing else uses [APPLICATION 7], but add a comment to help out any future lost soul that might wander into this. OK benno@
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-snmp.c b/usr.sbin/tcpdump/print-snmp.c
index ef5a6250de5..34d49a7863a 100644
--- a/usr.sbin/tcpdump/print-snmp.c
+++ b/usr.sbin/tcpdump/print-snmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-snmp.c,v 1.25 2020/01/24 22:46:37 procter Exp $ */
+/* $OpenBSD: print-snmp.c,v 1.26 2021/10/23 09:42:14 martijn Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -106,7 +106,7 @@ char *Application[] = {
#define NSAPADDR 5
"Counter64",
#define COUNTER64 6
- "UInteger32"
+ "UInteger32" /* Defined in RFC1442, removed since RFC1902 */
#define UINTEGER32 7
};