]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-msdp.c
CVE-2017-13040/MPTCP: Clean up printing DSS suboption.
[tcpdump] / print-msdp.c
index ce466da9661dc2a90bd692a3ec016099cf4dbcd8..50bafb0ae090bf60a5d95587abe24bf51437eab5 100644 (file)
  * FOR A PARTICULAR PURPOSE.
  */
 
+/* \summary: Multicast Source Discovery Protocol (MSDP) printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include "netdissect.h"
 #include "addrtoname.h"
@@ -71,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"));