From: martijn Date: Sat, 23 Oct 2021 09:42:14 +0000 (+0000) Subject: We define Unsigned32 as [Application 7], which was part of RFC1442 (1993), X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ead765c0add52db177d78b6b05a1b6f65298a5e8;p=openbsd 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@ --- 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 };