X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3824a6c0417a551961d1a1bf4f94f10eff736afc..refs/heads/tcpdump-3.8:/print-snmp.c diff --git a/print-snmp.c b/print-snmp.c index b3c3f6a5..e6079f82 100644 --- a/print-snmp.c +++ b/print-snmp.c @@ -56,6 +56,10 @@ # @(#)snmp.awk.x 1.1 (LANL) 1/15/90 */ +#ifndef lint +static const char rcsid[] _U_ = + "@(#) $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 #include "config.h" @@ -73,10 +77,6 @@ #include "interface.h" #include "addrtoname.h" -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-snmp.c,v 1.57 2003-11-15 00:39:40 guy Exp $ (LBL)"; -#endif /* * Universal ASN.1 types * (we only care about the tag values for those allowed in the Internet SMI) @@ -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]) \