X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3b8ff4bf0d8f389e00c19d6c094bce2bbf00deca..635e3cc92b72ca048a6b5b89b883980e4e1b4bdc:/print-ldp.c diff --git a/print-ldp.c b/print-ldp.c index 7f029e6d..75e6dd20 100644 --- a/print-ldp.c +++ b/print-ldp.c @@ -538,8 +538,7 @@ ldp_tlv_print(netdissect_options *ndo, return(tlv_len+4); /* Type & Length fields not included */ trunc: - nd_print_trunc(ndo); - return 0; + nd_trunc_longjmp(ndo); invalid: return(tlv_len+4); /* Type & Length fields not included */ @@ -697,6 +696,5 @@ ldp_pdu_print(netdissect_options *ndo, } return pdu_len+4; trunc: - nd_print_trunc(ndo); - return 0; + nd_trunc_longjmp(ndo); }