aboutsummaryrefslogtreecommitdiffstats
path: root/package/firewall/files/lib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-13 21:22:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-13 21:22:13 +0000
commit8693b9821bde0af5d72d777c946b46e7b34f7e4f (patch)
treec699099bd98c7f97cac493a105d9cad24a77f92a /package/firewall/files/lib
parent24f8f163908184ccdcfe968681cc9eba86c058a4 (diff)
downloadmaster-187ad058-8693b9821bde0af5d72d777c946b46e7b34f7e4f.tar.gz
master-187ad058-8693b9821bde0af5d72d777c946b46e7b34f7e4f.tar.bz2
master-187ad058-8693b9821bde0af5d72d777c946b46e7b34f7e4f.zip
[package] firewall: fix fw__uci_state_del() procedure (#11132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30938 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r--package/firewall/files/lib/core_interface.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh
index 8023e7fb8d..3d6718431f 100644
--- a/package/firewall/files/lib/core_interface.sh
+++ b/package/firewall/files/lib/core_interface.sh
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2011 OpenWrt.org
+# Copyright (C) 2009-2012 OpenWrt.org
fw__uci_state_add() {
local var="$1"
@@ -28,7 +28,7 @@ fw__uci_state_del() {
rest="${rest:+$rest${e1:+ }}$e1"
done
- uci_toggle_state firewall core $var "$val"
+ uci_toggle_state firewall core $var "$rest"
}
fw_configure_interface() {