source: freewrt/package/dnsmasq/patches/101-ipv6.patch@ f309a5b

freewrt_1_0 freewrt_2_0
Last change on this file since f309a5b was f309a5b, checked in by Dirk Nehring <dnehring@…>, 17 years ago

Update dnsmasq patches

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@3851 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 595 bytes
RevLine 
[f309a5b]1diff -Nur dnsmasq-2.47.orig/src/config.h dnsmasq-2.47/src/config.h
2--- dnsmasq-2.47.orig/src/config.h 2009-02-05 13:14:24.000000000 +0100
3+++ dnsmasq-2.47/src/config.h 2009-03-02 12:09:03.000000000 +0100
4@@ -282,8 +282,9 @@
[475ad56]5 /* We assume that systems which don't have IPv6
6 headers don't have ntop and pton either */
7
8-#if defined(INET6_ADDRSTRLEN) && defined(IPV6_V6ONLY) && !defined(NO_IPV6)
9+#if defined(INET6_ADDRSTRLEN) && !defined(NO_IPV6)
10 # define HAVE_IPV6
11+# define IPV6_V6ONLY 26
12 # define ADDRSTRLEN INET6_ADDRSTRLEN
13 # if defined(SOL_IPV6)
14 # define IPV6_LEVEL SOL_IPV6
Note: See TracBrowser for help on using the repository browser.