]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-frag6.c
CVE-2016-7925/Add more bounds checks.
[tcpdump] / print-frag6.c
index 53dafb4c81f27db1710b8c77cfa614bfa8542016..db4a98edcc3e40bb09bbb2a9cfe7917dac4d113a 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
+/* \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
@@ -67,4 +67,3 @@ trunc:
        ND_PRINT((ndo, "[|frag]"));
        return -1;
 }
-#endif /* INET6 */