summaryrefslogtreecommitdiff
path: root/package/firewall/files
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
commitdd6c299d2ec8cee240be7edf7ac3d75d4ae9ee31 (patch)
tree2cfba76de2fad7739267ee7e67ef231c8cf0fced /package/firewall/files
parent654f9c879fad01d34f7d2e14a6d12e9f1f741085 (diff)
downloadmtk-20170518-dd6c299d2ec8cee240be7edf7ac3d75d4ae9ee31.zip
mtk-20170518-dd6c299d2ec8cee240be7edf7ac3d75d4ae9ee31.tar.gz
mtk-20170518-dd6c299d2ec8cee240be7edf7ac3d75d4ae9ee31.tar.bz2
firewall: fix fw__uci_state_del() procedure (#11132)
SVN-Revision: 30938
Diffstat (limited to 'package/firewall/files')
-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 8023e7f..3d67184 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() {