From: Felix Fietkau Date: Wed, 2 Sep 2015 09:23:52 +0000 (+0000) Subject: mdns: fix having mulitple network entries in uci X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c8b481e0c180acdcaab0f3bf85b15022ce3bd005;p=openwrt%2Fstaging%2Frmilecki.git mdns: fix having mulitple network entries in uci Signed-off-by: Felix Fietkau SVN-Revision: 46764 --- diff --git a/package/network/services/mdns/files/mdns.init b/package/network/services/mdns/files/mdns.init index 19b00323300..c0f9155c069 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