dnsmasq: restore ability to include/exclude raw device names
[openwrt/openwrt.git] / package / network / services / dnsmasq / files / dnsmasq.init
index 19517d937d451c9cbe889ef0ad3ba3024b342db7..6f985b2417c10c311e232e63bdc4dfc5766d5b98 100644 (file)
@@ -138,12 +138,12 @@ append_ipset() {
 }
 
 append_interface() {
-       network_get_device ifname "$1" || return
+       network_get_device ifname "$1" || ifname="$1"
        xappend "--interface=$ifname"
 }
 
 append_notinterface() {
-       network_get_device ifname "$1" || return
+       network_get_device ifname "$1" || ifname="$1"
        xappend "--except-interface=$ifname"
 }