diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-02 09:23:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-02 09:23:52 +0000 |
commit | 1b7134d5ee15723686c1ab3259efc1c8bebe8e91 (patch) | |
tree | 5a67856b61167da7f52fbc5ede8cadde9b83ac9d /package/network | |
parent | b4fa5686a52d93bdaef613f8263cee6b47ad0390 (diff) | |
download | master-187ad058-1b7134d5ee15723686c1ab3259efc1c8bebe8e91.tar.gz master-187ad058-1b7134d5ee15723686c1ab3259efc1c8bebe8e91.tar.bz2 master-187ad058-1b7134d5ee15723686c1ab3259efc1c8bebe8e91.zip |
mdns: fix having mulitple network entries in uci
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46764 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r-- | package/network/services/mdns/files/mdns.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/mdns/files/mdns.init b/package/network/services/mdns/files/mdns.init index 19b0032330..c0f9155c06 100644 --- a/package/network/services/mdns/files/mdns.init +++ b/package/network/services/mdns/files/mdns.init @@ -13,7 +13,7 @@ load_ifaces() { local network="$(uci get mdns.@mdns[-1].network)" for n in $network; do local device - json_load "$(ifstatus $network)" + json_load "$(ifstatus $n)" json_get_var device l3_device echo -n "$device " done |