mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-10-19 14:08:17 +02:00
mdns: fix having mulitple network entries in uci
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46764
This commit is contained in:
parent
7e009c1598
commit
c8b481e0c1
@ -13,7 +13,7 @@ load_ifaces() {
|
|||||||
local network="$(uci get mdns.@mdns[-1].network)"
|
local network="$(uci get mdns.@mdns[-1].network)"
|
||||||
for n in $network; do
|
for n in $network; do
|
||||||
local device
|
local device
|
||||||
json_load "$(ifstatus $network)"
|
json_load "$(ifstatus $n)"
|
||||||
json_get_var device l3_device
|
json_get_var device l3_device
|
||||||
echo -n "$device "
|
echo -n "$device "
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user