diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-07-29 19:48:12 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-07-29 19:48:22 +0200 |
commit | 5cd88f481202dab197e6d7d231b97ecd720d4ded (patch) | |
tree | 74092d8e27b291e18437778a89a8fed5e514d332 /package/network | |
parent | c5a9a08f1ed6d151039a3fac769ca0a333974446 (diff) | |
download | upstream-5cd88f481202dab197e6d7d231b97ecd720d4ded.tar.gz upstream-5cd88f481202dab197e6d7d231b97ecd720d4ded.tar.bz2 upstream-5cd88f481202dab197e6d7d231b97ecd720d4ded.zip |
dnsmasq: remove use of uci state for getting network ifname
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/services/dnsmasq/files/dnsmasq.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init index 4047768bba..54cb0ebfc8 100644 --- a/package/network/services/dnsmasq/files/dnsmasq.init +++ b/package/network/services/dnsmasq/files/dnsmasq.init @@ -119,12 +119,12 @@ append_ipset() { } append_interface() { - local ifname=$(uci_get_state network "$1" ifname "$1") + network_get_device ifname "$1" xappend "--interface=$ifname" } append_notinterface() { - local ifname=$(uci_get_state network "$1" ifname "$1") + network_get_device ifname "$1" xappend "--except-interface=$ifname" } |