X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4ddd16b959cbf4f08ffd69384a0cb23a404a8b36..47fc89d711eec0a073d9b3b293a1af901b5bd791:/print-rpki-rtr.c diff --git a/print-rpki-rtr.c b/print-rpki-rtr.c index c705c050..5e4e4539 100644 --- a/print-rpki-rtr.c +++ b/print-rpki-rtr.c @@ -17,11 +17,6 @@ * Original code by Hannes Gredler (hannes@juniper.net) */ -#ifndef lint -static const char rcsid[] _U_ = -"@(#) $Header: /tcpdump/master/tcpdump/print-rpki_rtr.c,v 1.10 2008-03-20 09:30:56 hannes Exp $"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -285,7 +280,7 @@ rpki_rtr_pdu_print (const u_char *tptr, u_int indent) /* * Extract, trail-zero and print the Error message. - */ + */ text_length = 0; if (tlen > 4) { text_length = EXTRACT_32BITS(tptr); @@ -304,13 +299,13 @@ rpki_rtr_pdu_print (const u_char *tptr, u_int indent) /* * Unknown data, please hexdump. - */ + */ hexdump = TRUE; } /* do we also want to see a hex dump ? */ if (vflag > 1 || (vflag && hexdump)) { - print_unknown_data(tptr,"\n\t ", pdu_len); + print_unknown_data(gndo,tptr,"\n\t ", pdu_len); } }