summaryrefslogtreecommitdiff
path: root/package/network
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-02 09:23:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-02 09:23:52 +0000
commitc8b481e0c180acdcaab0f3bf85b15022ce3bd005 (patch)
treeff175d6b016478d9ab75438f34a6e256864f7c21 /package/network
parent7e009c15988cc1ef19b5593cecd2f9187c9849a7 (diff)
downloadmtk-20170518-c8b481e0c180acdcaab0f3bf85b15022ce3bd005.zip
mtk-20170518-c8b481e0c180acdcaab0f3bf85b15022ce3bd005.tar.gz
mtk-20170518-c8b481e0c180acdcaab0f3bf85b15022ce3bd005.tar.bz2
mdns: fix having mulitple network entries in uci
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46764
Diffstat (limited to 'package/network')
-rw-r--r--package/network/services/mdns/files/mdns.init2
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 19b0032..c0f9155 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