]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip6.c
Default to first interface from pcap_findalldevs()
[tcpdump] / print-ip6.c
index 4a876995fa7a807db8b5c55ab11f316bc619b49f..45508ced6cbf11a0ea5eb537f540488c0a3d1d97 100644 (file)
@@ -23,7 +23,7 @@
 #include "config.h"
 #endif
 
-#include <tcpdump-stdinc.h>
+#include <netdissect-stdinc.h>
 
 #include <string.h>
 
@@ -31,8 +31,6 @@
 #include "addrtoname.h"
 #include "extract.h"
 
-#ifdef INET6
-
 #include "ip6.h"
 #include "ipproto.h"
 
@@ -263,13 +261,3 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length)
 trunc:
        ND_PRINT((ndo, "[|ip6]"));
 }
-
-#else /* INET6 */
-
-void
-ip6_print(netdissect_options *ndo, const u_char *bp _U_, u_int length)
-{
-       ND_PRINT((ndo, "IP6, length: %u (printing not supported)", length));
-}
-
-#endif /* INET6 */