X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/51e180c4fb05a88ad6687a23cc983955cd9ea431..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/print-msdp.c diff --git a/print-msdp.c b/print-msdp.c index 545f452a..7845116b 100644 --- a/print-msdp.c +++ b/print-msdp.c @@ -36,12 +36,13 @@ msdp_print(netdissect_options *ndo, const u_char *sp, u_int length) unsigned int type, len; ndo->ndo_protocol = "msdp"; + ND_PRINT(": "); + nd_print_protocol(ndo); /* See if we think we're at the beginning of a compound packet */ type = GET_U_1(sp); len = GET_BE_U_2(sp + 1); if (len > 1500 || len < 3 || type == 0 || type > MSDP_TYPE_MAX) goto trunc; /* not really truncated, but still not decodable */ - ND_PRINT(" msdp:"); while (length != 0) { type = GET_U_1(sp); len = GET_BE_U_2(sp + 1);