]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sctp.c
Fix small misspellings
[tcpdump] / print-sctp.c
index f8d51c96e98aab52c71faa2b2765396f3882038a..19ffd74b40951b0f8882f6f58eaab630c39c5198 100644 (file)
@@ -89,7 +89,7 @@
  *
  * 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);
 }