summaryrefslogtreecommitdiff
path: root/package/firewall
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2008-08-11 20:51:51 +0000
committerJohn Crispin <john@openwrt.org>2008-08-11 20:51:51 +0000
commit43e28bf153d4545e76e044c4c09fb1356a9bb2fb (patch)
treec7eb2c02acd91044dbc7e48f11078e058949d994 /package/firewall
parent0f5cbca010c00b483bf7678ab7fa59dfafcd58d3 (diff)
downloadmtk-20170518-43e28bf153d4545e76e044c4c09fb1356a9bb2fb.zip
mtk-20170518-43e28bf153d4545e76e044c4c09fb1356a9bb2fb.tar.gz
mtk-20170518-43e28bf153d4545e76e044c4c09fb1356a9bb2fb.tar.bz2
uci_firewall - fixes hotplug.d script
SVN-Revision: 12282
Diffstat (limited to 'package/firewall')
-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