X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/08520c3bde32eec93147e34e28dc33e1044bd315..refs/pull/433/head:/print-msdp.c diff --git a/print-msdp.c b/print-msdp.c index ce466da9..fb802b58 100644 --- a/print-msdp.c +++ b/print-msdp.c @@ -16,13 +16,14 @@ * FOR A PARTICULAR PURPOSE. */ +#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif #include -#include "netdissect.h" +#include "interface.h" #include "addrtoname.h" #include "extract.h" @@ -71,7 +72,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"));