[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tcpdump-workers
Subject:    [tcpdump-workers] tcpdump-4.0.0 build failure with --disable-ipv6
From:       Peter Volkov <pva () gentoo ! org>
Date:       2008-11-07 12:44:38
Message-ID: 1226061878.27750.32.camel () localhost
[Download RAW message or body]

Hello.

tcpdump-4.0.0 fails to build with --disable-ipv6. Patch to fix the issue
is in attachment.

-- 
Peter.

["tcpdump-4.0.0-ipv6-build.patch" (tcpdump-4.0.0-ipv6-build.patch)]

=== modified file 'print-enc.c'
--- print-enc.c	2008-11-04 16:24:30 +0000
+++ print-enc.c	2008-11-04 16:45:04 +0000
@@ -77,9 +77,11 @@
 	case AF_INET:
 		ip_print(gndo, p, length);
 		break;
+#ifdef INET6
 	case AF_INET6:
 		ip6_print(p, length);
 		break;
+#endif /*INET6*/
 	}
 
 out:



-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic