]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
Add CAP_FCNTL and use cap_fcntls_limit().
[tcpdump] / print-msdp.c
index ce466da9661dc2a90bd692a3ec016099cf4dbcd8..fb802b58fd4dff387fd65434ade35a24eabd021d 100644 (file)
  * FOR A PARTICULAR PURPOSE.
  */
 
+#define NETDISSECT_REWORKED
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
 #include <tcpdump-stdinc.h>
 
-#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"));