]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lmp.c
Fix spaces
[tcpdump] / print-lmp.c
index c771488ddff96193f9dc06843e00116d792f00a4..6b28544c8ff866b7c131711ffa8ede4438945cba 100644 (file)
@@ -21,7 +21,7 @@
 /* OIF UNI 1.0: http://www.oiforum.com/public/documents/OIF-UNI-01.0.pdf */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -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:
- */