]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-frag6.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-frag6.c
index 1290952885587d9971339c03b93f2d80f9fd252f..491b07260032a04da95bd649345a4fc7d5a144da 100644 (file)
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#define NETDISSECT_REWORKED
 #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 +65,3 @@ trunc:
        ND_PRINT((ndo, "[|frag]"));
        return -1;
 }
-#endif /* INET6 */