summaryrefslogtreecommitdiff
path: root/print-snmp.c
diff options
context:
space:
mode:
authorguy <guy>2004-03-23 06:59:15 +0000
committerguy <guy>2004-03-23 06:59:15 +0000
commitcbb5972bee25da4364126b3fb86d72d48978e277 (patch)
tree8906e8b340cc36ba29d7e403f07f6af7237a3d97 /print-snmp.c
parent346d60dcd0724b5e65e624fc7e5b98c0eb72a8f6 (diff)
downloadtcpdump-cbb5972bee25da4364126b3fb86d72d48978e277.tar.gz
Enterprise-specific traps have a generic trap number of 6, not 7; thanks
to kin1@sourceforge.net to finding this.
Diffstat (limited to 'print-snmp.c')
-rw-r--r--print-snmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-snmp.c b/print-snmp.c
index d7c72d91..ad3a0efd 100644
--- a/print-snmp.c
+++ b/print-snmp.c
@@ -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]) \