]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Enterprise-specific traps have a generic trap number of 6, not 7; thanks
authorguy <guy>
Tue, 23 Mar 2004 06:59:59 +0000 (06:59 +0000)
committerguy <guy>
Tue, 23 Mar 2004 06:59:59 +0000 (06:59 +0000)
to [email protected] to finding this.

print-snmp.c

index 252914f479553555a3f7732eac3f0e91e567f3b8..e6079f823b3e6408a35326efe0b392b116c03f76 100644 (file)
@@ -58,7 +58,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56.2.2 2003-11-16 08:51:46 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.56.2.3 2004-03-23 06:59:59 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -210,7 +210,7 @@ const char *GenericTrap[] = {
        "authenticationFailure",
        "egpNeighborLoss",
        "enterpriseSpecific"
-#define GT_ENTERPRISE 7
+#define GT_ENTERPRISE 6
 };
 #define DECODE_GenericTrap(t) \
        ( t >= 0 && (size_t)t < sizeof(GenericTrap)/sizeof(GenericTrap[0]) \