summaryrefslogtreecommitdiff
path: root/package/firewall/files/new
diff options
context:
space:
mode:
Diffstat (limited to 'package/firewall/files/new')
-rw-r--r--package/firewall/files/new/20-firewall2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/new/20-firewall b/package/firewall/files/new/20-firewall
index 217e3f6..126fb9b 100644
--- a/package/firewall/files/new/20-firewall
+++ b/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