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 217e3f66bba89673dd4577df6ce88b8932da8cd5..126fb9bad0381b9a9e6278cfd128a04c75c570b6 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