]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-sctp.c
Fix spaces
[tcpdump] / print-sctp.c
index f8d51c96e98aab52c71faa2b2765396f3882038a..88bf8c212a3e8099755e1b88ac5325ed9f2769b9 100644 (file)
@@ -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);
 }