]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-ip6.c
Don't require IPv6 library support in order to support IPv6 addresses.
[tcpdump] / print-ip6.c
index dda9ba35f259bb8a9908c0178cf3a916be42dcf0..45508ced6cbf11a0ea5eb537f540488c0a3d1d97 100644 (file)
@@ -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 */