Browse Source

mdns: fix having mulitple network entries in uci

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 46764
Felix Fietkau 10 years ago
parent
commit
c8b481e0c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/services/mdns/files/mdns.init

+ 1 - 1
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