X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/617f68b27238e29c391700fbd935b8e48eb263df..309ca62193772fd8ba532fd413b51a61be0c741e:/print-ldp.c diff --git a/print-ldp.c b/print-ldp.c index de3b34e5..12431048 100644 --- a/print-ldp.c +++ b/print-ldp.c @@ -609,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;