]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ldp.c
Add changes in 4.2.1.
[tcpdump] / print-ldp.c
index de3b34e5b54f94d264863f8286a1956ccd85901b..1243104855b7414faaca60c2623b21695192199e 100644 (file)
@@ -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;