openwrtv3/package/network
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
..
config netifd: update to latest git HEAD (Coverity fixes) 2018-04-27 21:39:57 +02:00
ipv6 odhcp6c: update to latest git HEAD 2018-04-29 23:12:31 +02:00
services dnsmasq: add specific interface procd triggers 2018-05-11 13:49:03 +02:00
utils iproute2: import latest cake 2018-05-07 08:09:12 +02:00