From d9011ad6beb377fe66ce8fb4924db2c856887fff Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Wed, 17 Dec 2014 05:59:12 +0000 Subject: dnsmasq: allow de-selecting features from -full variant. Signed-off-by: Yousong Zhou SVN-Revision: 43733 --- package/network/services/dnsmasq/files/dnsmasq.init | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'package/network/services/dnsmasq/files') diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 942acd7ada..209952b5e6 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -85,6 +85,10 @@ append_address() { xappend "--address=$1" } +append_ipset() { + xappend "--ipset=$1" +} + append_interface() { local ifname=$(uci_get_state network "$1" ifname "$1") xappend "--interface=$ifname" @@ -135,6 +139,7 @@ dnsmasq() { append_parm "$cfg" "local" "--server" config_list_foreach "$cfg" "server" append_server config_list_foreach "$cfg" "address" append_address + config_list_foreach "$cfg" "ipset" append_ipset config_list_foreach "$cfg" "interface" append_interface config_list_foreach "$cfg" "notinterface" append_notinterface config_list_foreach "$cfg" "addnhosts" append_addnhosts -- cgit v1.2.3