X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/d8acd8f5d0d7cac4881b5552eca5dc40a5d3c0d1..ce1fc8263da72437c1df54b8b3ee682413d9e6ed:/print-snmp.c diff --git a/print-snmp.c b/print-snmp.c index 1fd34eab..6f57c2f1 100644 --- a/print-snmp.c +++ b/print-snmp.c @@ -56,11 +56,6 @@ # @(#)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.64 2005-05-06 07:56:53 guy Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -75,7 +70,6 @@ static const char rcsid[] _U_ = #endif #include "interface.h" -#include "addrtoname.h" #undef OPAQUE /* defined in */ @@ -784,7 +778,7 @@ asn1_print(struct be *elem) const u_char *p = elem->data.str; TCHECK2(*p, asnlen); for (i = asnlen; printable && i-- > 0; p++) - printable = isprint(*p) || isspace(*p); + printable = ND_ISPRINT(*p); p = elem->data.str; if (printable) { putchar('"');