]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-rt6.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-rt6.c
index 8c1ff6a9b8ec92f9003d15def84c8854868d3f47..231f5ff4ce42150041aa5f4cc10225d38d20600f 100644 (file)
 #include "config.h"
 #endif
 
-#ifdef INET6
-
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include <string.h>
 
 #include "ip6.h"
 
-#include "interface.h"
+#include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
 
@@ -107,4 +105,3 @@ rt6_print(netdissect_options *ndo, register const u_char *bp, const u_char *bp2
        ND_PRINT((ndo, "[|srcrt]"));
        return -1;
 }
-#endif /* INET6 */