diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-05 00:09:10 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-05 00:09:10 +0000 |
commit | 4d09cb0846c8f5ae33d1b9d148a4cec249fc24af (patch) | |
tree | 44272016c41ca47e7ca6e71de188094713fe5029 /openwrt | |
parent | 0cd8cbd7ff2b68b166567c3e2cf990028f144320 (diff) | |
download | mtk-20170518-4d09cb0846c8f5ae33d1b9d148a4cec249fc24af.zip mtk-20170518-4d09cb0846c8f5ae33d1b9d148a4cec249fc24af.tar.gz mtk-20170518-4d09cb0846c8f5ae33d1b9d148a4cec249fc24af.tar.bz2 |
fix ipv6 support in dnsmasq
SVN-Revision: 563
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/package/dnsmasq/patches/101-ipv6.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/package/dnsmasq/patches/101-ipv6.patch b/openwrt/package/dnsmasq/patches/101-ipv6.patch new file mode 100644 index 0000000..5cbf781 --- /dev/null +++ b/openwrt/package/dnsmasq/patches/101-ipv6.patch @@ -0,0 +1,13 @@ +--- dnsmasq-2.15.orig/src/config.h 2004-09-20 15:47:57.000000000 +0200 ++++ dnsmasq-2.15/src/config.h 2004-09-20 23:21:10.000000000 +0200 +@@ -78,8 +78,9 @@ + /* We assume that systems which don't have IPv6 + headers don't have ntop and pton either */ + +-#if defined(INET6_ADDRSTRLEN) && defined(IPV6_V6ONLY) && !defined(NO_IPV6) ++#if defined(INET6_ADDRSTRLEN) && !defined(NO_IPV6) + # define HAVE_IPV6 ++# define IPV6_V6ONLY 26 + # define ADDRSTRLEN INET6_ADDRSTRLEN + # if defined(SOL_IPV6) + # define IPV6_LEVEL SOL_IPV6 |