From 11f73ad248fa22461ca040baa8dc94b864509efa Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 17 Sep 2015 14:56:44 -0700 Subject: Don't require IPv6 library support in order to support IPv6 addresses. Have our own routines to convert between IPv4/IPv6 addresses and strings; that helps if, for example, we want to build binary versions of tcpdump for Windows that can run both on NT 5 (W2K/WXP), which doesn't have inet_ntop() or inet_pton(), and NT 6 (Vista/7/8/10), which do. It also means that we don't require IPv6 library support on UN*X to print addresses (if somebody wants to build tcpdump for older UN*Xes lacking IPv6 support in the system library or in add-on libraries). Get rid of files in the missing directory that we don't need, and various no-longer-necessary autoconf tests. --- print-frag6.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'print-frag6.c') diff --git a/print-frag6.c b/print-frag6.c index 967e6373..491b0726 100644 --- a/print-frag6.c +++ b/print-frag6.c @@ -23,8 +23,6 @@ #include "config.h" #endif -#ifdef INET6 - #include #include "ip6.h" @@ -67,4 +65,3 @@ trunc: ND_PRINT((ndo, "[|frag]")); return -1; } -#endif /* INET6 */ -- cgit v1.2.1