X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/24df77f09e26a72f662a82b92645707e0572d1cc..1bcd37991fa57d9e966a6f96e7cbff59b16c28bd:/print-icmp6.c diff --git a/print-icmp6.c b/print-icmp6.c index 24407904..c535d3b7 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -843,7 +843,6 @@ rpl_printopts(netdissect_options *ndo, const uint8_t *opts, u_int length) return; trunc: nd_print_trunc(ndo); - return; } static void @@ -872,7 +871,6 @@ rpl_dio_print(netdissect_options *ndo, return; trunc: nd_print_trunc(ndo); - return; } static void @@ -918,7 +916,6 @@ trunc: tooshort: ND_PRINT(" [|length too short]"); - return; } static void @@ -961,7 +958,6 @@ trunc: tooshort: ND_PRINT(" [|dao-length too short]"); - return; } static void @@ -1648,7 +1644,6 @@ mldv2_query_print(netdissect_options *ndo, const u_char *bp, u_int len) ND_PRINT(" [gaddr %s", GET_IP6ADDR_STRING(bp + 8)); if (ndo->ndo_vflag) { - ND_TCHECK_1(bp + 25); if (GET_U_1(bp + 24) & 0x08) { ND_PRINT(" sflag"); } @@ -1678,10 +1673,6 @@ mldv2_query_print(netdissect_options *ndo, const u_char *bp, u_int len) ND_PRINT(", %u source(s)", nsrcs); } ND_PRINT("]"); - return; -trunc: - nd_print_trunc(ndo); - return; } static void