X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/e782bd8ca6e739a87d8d22d4f45bce4831426201..refs/pull/1034/head:/print-pim.c diff --git a/print-pim.c b/print-pim.c index 1fd11472..f2db8c76 100644 --- a/print-pim.c +++ b/print-pim.c @@ -137,7 +137,7 @@ static const struct tok pimv2_df_election_flag_values[] = { /* * XXX: We consider a case where IPv6 is not ready yet for portability, - * but PIM dependent defintions should be independent of IPv6... + * but PIM dependent definitions should be independent of IPv6... */ struct pim { @@ -256,7 +256,6 @@ pimv1_join_prune_print(netdissect_options *ndo, return; trunc: nd_print_trunc(ndo); - return; } void @@ -305,7 +304,6 @@ pimv1_print(netdissect_options *ndo, break; case PIMV1_TYPE_RP_REACHABILITY: if (ndo->ndo_vflag) { - ND_TCHECK_2(bp + 22); ND_PRINT(" group %s", GET_IPADDR_STRING(bp + 8)); if (GET_BE_U_4(bp + 12) != 0xffffffff) ND_PRINT("/%s", GET_IPADDR_STRING(bp + 12)); @@ -339,7 +337,6 @@ pimv1_print(netdissect_options *ndo, trunc: nd_print_trunc(ndo); - return; } /* @@ -451,7 +448,6 @@ cisco_autorp_print(netdissect_options *ndo, trunc: nd_print_trunc(ndo); - return; } void @@ -1091,7 +1087,6 @@ pimv2_print(netdissect_options *ndo, if (len < 2) goto trunc; - ND_TCHECK_2(bp); ND_PRINT(",holdtime="); unsigned_relts_print(ndo, GET_BE_U_2(bp));