aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-10-15 13:36:25 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-10-15 13:42:55 +0200
commit39e5e17045aceb2bfbd6b5c6ecfd6cfbce2f3311 (patch)
treefe6e09bc479286176ca9a72439caf2f00ff1712d /package/network/services/dnsmasq
parentd251a11f60fc8fd506eea8a3b552d66c9bf78e9b (diff)
downloadupstream-39e5e17045aceb2bfbd6b5c6ecfd6cfbce2f3311.tar.gz
upstream-39e5e17045aceb2bfbd6b5c6ecfd6cfbce2f3311.tar.bz2
upstream-39e5e17045aceb2bfbd6b5c6ecfd6cfbce2f3311.zip
dnsmasq: fix compile issue
Fix compile issue in case HAVE_BROKEN_RTC is enabled Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'package/network/services/dnsmasq')
-rw-r--r--package/network/services/dnsmasq/patches/001-fix-typo.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/package/network/services/dnsmasq/patches/001-fix-typo.patch b/package/network/services/dnsmasq/patches/001-fix-typo.patch
new file mode 100644
index 0000000000..ed70754535
--- /dev/null
+++ b/package/network/services/dnsmasq/patches/001-fix-typo.patch
@@ -0,0 +1,28 @@
+From 53792c934cf18f46c5da3ea28786100cb339ad4c Mon Sep 17 00:00:00 2001
+From: Martin Schiller <ms@dev.tdt.de>
+Date: Mon, 8 Oct 2018 14:55:19 +0200
+Subject: [PATCH] fix typo
+
+it was introduced by commit 08933475abd0580cff747e3d1e0db3865207a200
+
+Signed-off-by: Martin Schiller <ms@dev.tdt.de>
+---
+ src/dnsmasq.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/dnsmasq.c b/src/dnsmasq.c
+index aa29bbf..7fd33af 100644
+--- a/src/dnsmasq.c
++++ b/src/dnsmasq.c
+@@ -242,7 +242,7 @@ int main (int argc, char **argv)
+
+ /* Create a serial at startup if not configured. */
+ #ifdef HAVE_BROKEN_RTC
+- if (daemon_>soa_sn == 0)
++ if (daemon->soa_sn == 0)
+ die(_("zone serial must be configured in --auth-soa"), NULL, EC_BADCONF);
+ #else
+ if (daemon->soa_sn == 0)
+--
+2.18.0
+