summaryrefslogtreecommitdiff
path: root/extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch')
-rw-r--r--extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch b/extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch
new file mode 100644
index 000000000..99f084930
--- /dev/null
+++ b/extra/dnsmasq/0001-Fix-failure-to-start-with-ENOTSOCK.patch
@@ -0,0 +1,26 @@
+From cfcad42ff1ddee8e64d120f18016a654152d0215 Mon Sep 17 00:00:00 2001
+From: Simon Kelley <simon@thekelleys.org.uk>
+Date: Fri, 17 May 2013 11:32:03 +0100
+Subject: [PATCH] Fix failure to start with ENOTSOCK
+
+---
+ CHANGELOG | 6 ++++++
+ src/dnsmasq.c | 2 +-
+ 2 files changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/src/dnsmasq.c b/src/dnsmasq.c
+index 43b8cb1..b0f984d 100644
+--- a/src/dnsmasq.c
++++ b/src/dnsmasq.c
+@@ -248,7 +248,7 @@ int main (int argc, char **argv)
+ #endif
+
+ #if defined(HAVE_LINUX_NETWORK) && defined(HAVE_DHCP6)
+- if (daemon->dhcp6)
++ if (daemon->doing_dhcp6)
+ bindtodevice(daemon->dhcp6fd);
+ #endif
+ }
+--
+1.8.3.2
+