X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/95d8b612de327d61287f3bdf4c7c652066c29e3c..309ca62193772fd8ba532fd413b51a61be0c741e:/print-ldp.c diff --git a/print-ldp.c b/print-ldp.c index ede1653a..12431048 100644 --- a/print-ldp.c +++ b/print-ldp.c @@ -16,7 +16,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.19 2006-03-28 07:06:21 hannes Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ldp.c,v 1.20 2006-06-23 02:03:09 hannes Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -218,9 +218,6 @@ static const struct tok ldp_fec_martini_ifparm_vccv_cv_values[] = { { 0, NULL} }; -#define FALSE 0 -#define TRUE 1 - int ldp_msg_print(register const u_char *); int ldp_tlv_print(register const u_char *); @@ -612,7 +609,7 @@ ldp_msg_print(register const u_char *pptr) { } /* do we want to see an additionally hexdump ? */ if (vflag > 1 || hexdump==TRUE) - print_unknown_data(tptr+sizeof(sizeof(struct ldp_msg_header)),"\n\t ", + print_unknown_data(tptr+sizeof(struct ldp_msg_header),"\n\t ", msg_len); tptr += msg_len+4;