aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/dnsmasq/Makefile
diff options
context:
space:
mode:
authorhux <xinxing.huchn@gmail.com>2018-05-08 00:37:48 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-05-11 13:49:03 +0200
commitecd954d5302b2d135005ca68c206bb2d544b0bde (patch)
tree114ac6d7c8e6cc79b7bc4124b3331ac25b6f3ab3 /package/network/services/dnsmasq/Makefile
parentdc629d9cf5afc03f67a294078ca1001e831c66c9 (diff)
downloadupstream-ecd954d5302b2d135005ca68c206bb2d544b0bde.tar.gz
upstream-ecd954d5302b2d135005ca68c206bb2d544b0bde.tar.bz2
upstream-ecd954d5302b2d135005ca68c206bb2d544b0bde.zip
dnsmasq: add specific interface procd triggers
Right now interface.update events are sent out by netifd upon interface state, route, address (lifetime), prefix lifetime changes. Dnsmasq is only interested in interface state changes and currently adds an interface trigger for all the "interface.*" events. In combination with commit 23bba9cb330, which triggers a SIGHUP signal to dnsmasq, IPv6 address/prefix lifetime changes on the wan will trigger dnsmasq reloads which can become frequent in case of shorter lifetimes. To avoid frequent dnsmasq reload, this patch adds specific interface triggers. During dnsmasq init it loops dhcp uci section; if the value of the ignore option is set to 0, then the corresponding interface trigger is not installed. Otherwise, if the ignore option value is 1, then procd_add_interface_trigger is called which adds the interface trigger. Signed-off-by: hux <xinxing.huchn@gmail.com>
Diffstat (limited to 'package/network/services/dnsmasq/Makefile')
-rw-r--r--package/network/services/dnsmasq/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/Makefile b/package/network/services/dnsmasq/Makefile
index b6502bf5d0..60ed9ed6fb 100644
--- a/package/network/services/dnsmasq/Makefile
+++ b/package/network/services/dnsmasq/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dnsmasq
PKG_VERSION:=2.79
-PKG_RELEASE:=3
+PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq/