projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dnsmasq: remove use of uci state for getting network ifname
[openwrt/openwrt.git]
/
package
/
network
/
services
/
dnsmasq
/
files
/
dnsmasq.init
diff --git
a/package/network/services/dnsmasq/files/dnsmasq.init
b/package/network/services/dnsmasq/files/dnsmasq.init
index 4047768bba14449d06f3d1dd8dbc19842141d3c8..54cb0ebfc8c8c80445561adec2d4a81770d12841 100644
(file)
--- a/
package/network/services/dnsmasq/files/dnsmasq.init
+++ b/
package/network/services/dnsmasq/files/dnsmasq.init
@@
-119,12
+119,12
@@
append_ipset() {
}
append_interface() {
}
append_interface() {
- local ifname=$(uci_get_state network "$1" ifname "$1")
+ network_get_device ifname "$1"
xappend "--interface=$ifname"
}
append_notinterface() {
xappend "--interface=$ifname"
}
append_notinterface() {
- local ifname=$(uci_get_state network "$1" ifname "$1")
+ network_get_device ifname "$1"
xappend "--except-interface=$ifname"
}
xappend "--except-interface=$ifname"
}