]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-frag6.c
CVE-2016-7931/Add bounds and length checks.
[tcpdump] / print-frag6.c
index b8c49fd986946b5866011f6d1856e546909d6db7..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 "netdissect.h"
@@ -67,4 +67,3 @@ trunc:
        ND_PRINT((ndo, "[|frag]"));
        return -1;
 }
-#endif /* INET6 */