X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/1fe6e66ecec3fb7a7cc729038012cbb264542331..3d6e7bd1e42a7316fb2020348a8d3e86b1346b36:/print-msdp.c diff --git a/print-msdp.c b/print-msdp.c index 87812435..50bafb0a 100644 --- a/print-msdp.c +++ b/print-msdp.c @@ -16,14 +16,15 @@ * FOR A PARTICULAR PURPOSE. */ -#define NETDISSECT_REWORKED +/* \summary: Multicast Source Discovery Protocol (MSDP) printer */ + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include -#include "interface.h" +#include "netdissect.h" #include "addrtoname.h" #include "extract.h" @@ -72,7 +73,7 @@ msdp_print(netdissect_options *ndo, const u_char *sp, u_int length) case 2: ND_PRINT((ndo, " SA-Request")); ND_TCHECK2(*sp, 5); - ND_PRINT((ndo, " for %s", ipaddr_string(sp + 1))); + ND_PRINT((ndo, " for %s", ipaddr_string(ndo, sp + 1))); break; case 4: ND_PRINT((ndo, " Keepalive"));