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>
Mon, 23 Mar 2020 07:01:54 +0000 (08:01 +0100)
commit39405644d5b97796a633315e0ce7b65f8a1eb3ac
tree9944ddc04009866415e5d827084b79c99084b28b
parentd5b1f4430f5649a857485341834a48b3420fc0cc
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