]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
Compile with '-Wsign-compare' in devel mode if supported
[tcpdump] / print-msdp.c
index 5fd86422a9d7e592882d2b3eafe8d055ce46717c..004818362968745f10a9413967bf6a30268de461 100644 (file)
@@ -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:
- */