dnsmasq: remove use of uci state for getting network ifname
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
c5a9a08f1e
commit
5cd88f4812
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue