uci_firewall - fixes hotplug.d script
authorJohn Crispin <john@openwrt.org>
Mon, 11 Aug 2008 20:51:51 +0000 (20:51 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 11 Aug 2008 20:51:51 +0000 (20:51 +0000)
SVN-Revision: 12282

package/firewall/files/new/20-firewall

index 217e3f6..126fb9b 100644 (file)
@@ -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