X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/c2a9094394193f1de9c968a1fc490e5a1f2a9a3d..0b3880c91e169db7cfbdce1b18ef4f1e3fd277de:/print-sctp.c diff --git a/print-sctp.c b/print-sctp.c index f8d51c96..19ffd74b 100644 --- a/print-sctp.c +++ b/print-sctp.c @@ -89,7 +89,7 @@ * qxie1@email.mot.com * * Any bugs reported given to us we will try to fix... any fixes shared will - * be incorperated into the next SCTP release. + * be incorporated into the next SCTP release. */ /* The valid defines for all message @@ -249,7 +249,7 @@ struct sctpSendableInit{ /* Selective Acknowledgement * has the following structure with - * a optional ammount of trailing int's + * a optional amount of trailing int's * on the last part (based on the numberOfDesc * field). */ @@ -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); }