]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-frag6.c
CVE-2016-7931/Add bounds and length checks.
[tcpdump] / print-frag6.c
index 1290952885587d9971339c03b93f2d80f9fd252f..db4a98edcc3e40bb09bbb2a9cfe7917dac4d113a 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
+/* \summary: IPv6 fragmentation header printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
 
-#ifdef INET6
-
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include "ip6.h"
-#include "interface.h"
+#include "netdissect.h"
 #include "extract.h"
 
 int
@@ -68,4 +67,3 @@ trunc:
        ND_PRINT((ndo, "[|frag]"));
        return -1;
 }
-#endif /* INET6 */