]> 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:15 +0000 (06:59 +0000)
committerguy <guy>
Tue, 23 Mar 2004 06:59:15 +0000 (06:59 +0000)
to [email protected] to finding this.

print-snmp.c

index d7c72d91130a10c0b7530e960d5f9f120e26a055..ad3a0efd268e919e49d13eb81b718423e71d3a50 100644 (file)
@@ -58,7 +58,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.58 2003-11-16 09:36:38 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.59 2004-03-23 06:59:15 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]) \