openwrtv4/package
hux ecd954d530 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 23bba9cb33, 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>
2018-05-11 13:49:03 +02:00
..
base-files sysctl: Protect hard/symlinks by default. 2018-05-01 11:19:03 +02:00
boot at91: Add SAMA5D2 PTC EK board 2018-05-05 06:55:22 +02:00
devel perf: restrict libunwind dependency to archs that actually support libunwind 2018-02-25 17:03:42 +01:00
firmware ipq-wifi: drop custom board-2.bins 2018-04-23 22:07:22 +02:00
kernel kernel: fix kmod-switch-rtl8366-smi dependency 2018-05-10 10:22:19 +02:00
libs nghttp2: bump to 1.32.0 2018-05-09 11:26:45 +02:00
network dnsmasq: add specific interface procd triggers 2018-05-11 13:49:03 +02:00
system ca-certificates: Update to Version 20180409 2018-05-05 09:32:04 +02:00
utils flock: enable alternatives support 2018-05-07 15:50:18 +08:00
Makefile imagebuilder: reuse rootfs preparation from rootfs.mk 2018-03-07 09:59:08 +01:00