dnsmasq: add 'scriptarp' option
authorJordan Sokolic <oofnik@gmail.com>
Thu, 19 Mar 2020 12:23:22 +0000 (14:23 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 22 Mar 2020 21:17:37 +0000 (22:17 +0100)
commit27ffd5ee301533bf8abb2d570bc8ec60eba57c97
tree4463faec5e0d29357ad0b3fc7869e0d0c2965d70
parentf1f8700d546414c733ee823c6c0a050e23e6fd07
dnsmasq: add 'scriptarp' option

Add option 'scriptarp' to uci dnsmasq config to enable --script-arp functions.
The default setting is false, meaning any scripts in `/etc/hotplug.d/neigh` intended
to be triggered by `/usr/lib/dnsmasq/dhcp-script.sh` will fail to execute.

Also enable --script-arp if has_handlers returns true.

Signed-off-by: Jordan Sokolic <oofnik@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> [PKG_RELEASE increase]
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init