projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ar71xx: override mtd partitions for the TEW-632BRP family
[openwrt.git]
/
package
/
dnsmasq
/
patches
/
103-ipv6_fix.patch
diff --git
a/package/dnsmasq/patches/103-ipv6_fix.patch
b/package/dnsmasq/patches/103-ipv6_fix.patch
index
28a272f
..
8269b79
100644
(file)
--- a/
package/dnsmasq/patches/103-ipv6_fix.patch
+++ b/
package/dnsmasq/patches/103-ipv6_fix.patch
@@
-1,6
+1,8
@@
---- a/src/netlink.c
-+++ b/src/netlink.c
-@@ -116,6 +116,7 @@
+Index: dnsmasq-2.51/src/netlink.c
+===================================================================
+--- dnsmasq-2.51.orig/src/netlink.c
++++ dnsmasq-2.51/src/netlink.c
+@@ -129,6 +129,7 @@ int iface_enumerate(void *parm, int (*ip
ssize_t len;
static unsigned int seq = 0;
int family = AF_INET;
ssize_t len;
static unsigned int seq = 0;
int family = AF_INET;
@@
-8,7
+10,7
@@
struct {
struct nlmsghdr nlh;
struct {
struct nlmsghdr nlh;
-@@ -
187,9 +188,12 @@
+@@ -
207,9 +208,12 @@ int iface_enumerate(void *parm, int (*ip
rta = RTA_NEXT(rta, len1);
}
rta = RTA_NEXT(rta, len1);
}
@@
-22,7
+24,7
@@
}
#ifdef HAVE_IPV6
else if (ifa->ifa_family == AF_INET6)
}
#ifdef HAVE_IPV6
else if (ifa->ifa_family == AF_INET6)
-@@ -2
05,7 +209,7 @@
+@@ -2
25,7 +229,7 @@ int iface_enumerate(void *parm, int (*ip
if (addrp && ipv6_callback)
if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm)))
if (addrp && ipv6_callback)
if (!((*ipv6_callback)(addrp, ifa->ifa_index, ifa->ifa_index, parm)))
@@
-31,9
+33,11
@@
}
#endif
}
}
#endif
}
---- a/src/network.c
-+++ b/src/network.c
-@@ -278,7 +278,7 @@
+Index: dnsmasq-2.51/src/network.c
+===================================================================
+--- dnsmasq-2.51.orig/src/network.c
++++ dnsmasq-2.51/src/network.c
+@@ -302,7 +302,7 @@ static int create_ipv6_listener(struct l
bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 ||
listen(tcpfd, 5) == -1 ||
bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1)
bind(tcpfd, (struct sockaddr *)&addr, sa_len(&addr)) == -1 ||
listen(tcpfd, 5) == -1 ||
bind(fd, (struct sockaddr *)&addr, sa_len(&addr)) == -1)
This page took
0.02198 seconds
and
4
git commands to generate.