]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
Fix spaces
[tcpdump] / print-msdp.c
index bb2e44583ef8485987cd5009ee0e7f51778a1f21..004818362968745f10a9413967bf6a30268de461 100644 (file)
@@ -19,7 +19,7 @@
 /* \summary: Multicast Source Discovery Protocol (MSDP) printer */
 
 #ifdef HAVE_CONFIG_H
-#include "config.h"
+#include <config.h>
 #endif
 
 #include "netdissect-stdinc.h"
@@ -35,6 +35,7 @@ msdp_print(netdissect_options *ndo, const u_char *sp, u_int length)
 {
        unsigned int type, len;
 
+       ndo->ndo_protocol = "msdp";
        ND_TCHECK_3(sp);
        /* See if we think we're at the beginning of a compound packet */
        type = EXTRACT_U_1(sp);
@@ -95,12 +96,5 @@ msdp_print(netdissect_options *ndo, const u_char *sp, u_int length)
        }
        return;
 trunc:
-       ND_PRINT(" [|msdp]");
+       nd_print_trunc(ndo);
 }
-
-/*
- * Local Variables:
- * c-style: whitesmith
- * c-basic-offset: 8
- * End:
- */