Parcourir la source

uci_firewall - fixes hotplug.d script

SVN-Revision: 12282
John Crispin il y a 17 ans
Parent
commit
43e28bf153
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package/firewall/files/new/20-firewall

+ 1 - 1
package/firewall/files/new/20-firewall

@@ -8,7 +8,7 @@ load_zones() {
 	local network
 	config_get name $1 name
 	config_get network $1 network
-	[ -z "$network" ] && return
+	[ -z "$network" ] && network=$name 
 	for n in $network; do
 		local ifname
 		config_get ifname $n ifname