X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/c2a9094394193f1de9c968a1fc490e5a1f2a9a3d..a8abce5c5e2dce2ba6dbccd5d3829da104b80f9c:/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); }