X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/0dad1934af3db3f97d4371463089c8725dbfa26d..9e7cd40a7af81c08da36ef3cc4e0a951d58dd01e:/print-sctp.c diff --git a/print-sctp.c b/print-sctp.c index f8d51c96..88bf8c21 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -464,6 +464,7 @@ sctp_print(netdissect_options *ndo, const char *sep; int isforces = 0; + ndo->ndo_protocol = "sctp"; if (sctpPacketLength < sizeof(struct sctpHeader)) { ND_PRINT("truncated-sctp - %ld bytes missing!", @@ -767,5 +768,5 @@ sctp_print(netdissect_options *ndo, return; trunc: - ND_PRINT("[|sctp]"); + nd_print_trunc(ndo); }