]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lmp.c
Fix spaces
[tcpdump] / print-lmp.c
index bb7d9ae2aae3022a727b2dba55811410018887b3..6b28544c8ff866b7c131711ffa8ede4438945cba 100644 (file)
@@ -31,6 +31,7 @@
 #include "addrtoname.h"
 #include "gmpls.h"
 
+
 /*
  * LMP common header
  *
@@ -438,6 +439,7 @@ lmp_print(netdissect_options *ndo,
         uint32_t i;
     } bw;
 
+    ndo->ndo_protocol = "lmp";
     tptr=pptr;
     lmp_com_header = (const struct lmp_common_header *)pptr;
     ND_TCHECK_SIZE(lmp_com_header);
@@ -1131,11 +1133,5 @@ lmp_print(netdissect_options *ndo,
     }
     return;
 trunc:
-    ND_PRINT("\n\t\t packet exceeded snapshot");
+    nd_print_trunc(ndo);
 }
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */