]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Apple IPoIEEE1394: Switch to nd_trunc_longjmp(). [skip ci]
authorDenis Ovsienko <[email protected]>
Sat, 10 Oct 2020 21:39:18 +0000 (22:39 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 10 Oct 2020 21:39:18 +0000 (22:39 +0100)
print-ap1394.c

index 37298d010555954cb895b56c6b80197c0b048e53..04619159a03ddb950d8345e5fb8b735c418a472f 100644 (file)
@@ -97,8 +97,7 @@ ap1394_if_print(netdissect_options *ndo, const struct pcap_pkthdr *h, const u_ch
        ndo->ndo_protocol = "ap1394";
        if (caplen < FIREWIRE_HDRLEN) {
                ndo->ndo_ll_hdr_len += caplen;
-               nd_print_trunc(ndo);
-               return;
+               nd_trunc_longjmp(ndo);
        }
        ndo->ndo_ll_hdr_len += FIREWIRE_HDRLEN;