Root/package/dnsmasq/patches/101-ipv6.patch

1--- a/src/config.h
2+++ b/src/config.h
3@@ -269,8 +269,9 @@ NOTES:
4 /* We assume that systems which don't have IPv6
5    headers don't have ntop and pton either */
6 
7-#if defined(INET6_ADDRSTRLEN) && defined(IPV6_V6ONLY) && !defined(NO_IPV6)
8+#if defined(INET6_ADDRSTRLEN) && !defined(NO_IPV6)
9 # define HAVE_IPV6
10+# define IPV6_V6ONLY 26
11 # define ADDRSTRLEN INET6_ADDRSTRLEN
12 # if defined(SOL_IPV6)
13 # define IPV6_LEVEL SOL_IPV6
14

Archive Download this file



interactive