summaryrefslogtreecommitdiff
path: root/package/firewall
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-07-20 15:29:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-07-20 15:29:10 +0000
commit90ac92e8bed28368f8af176092af9c9c3016f793 (patch)
treebda5fb9f723afc70a760f870dda7922836c9a3d1 /package/firewall
parentc7173a211d320f5c27d35137c8344a3e9d4c207d (diff)
downloadmtk-20170518-90ac92e8bed28368f8af176092af9c9c3016f793.zip
mtk-20170518-90ac92e8bed28368f8af176092af9c9c3016f793.tar.gz
mtk-20170518-90ac92e8bed28368f8af176092af9c9c3016f793.tar.bz2
firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
Diffstat (limited to 'package/firewall')
-rw-r--r--package/firewall/Makefile2
-rw-r--r--package/firewall/files/lib/core_interface.sh4
2 files changed, 3 insertions, 3 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile
index 453da4e..394a207 100644
--- a/package/firewall/Makefile
+++ b/package/firewall/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall
PKG_VERSION:=2
-PKG_RELEASE:=31
+PKG_RELEASE:=32
include $(INCLUDE_DIR)/package.mk
diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh
index ab58201..84e07e0 100644
--- a/package/firewall/files/lib/core_interface.sh
+++ b/package/firewall/files/lib/core_interface.sh
@@ -12,7 +12,7 @@ fw__uci_state_add() {
val="${val:+$val${e1:+ }}$e1"
done
- uci_toggle_state $var "$val"
+ uci_toggle_state firewall core $var "$val"
}
fw__uci_state_del() {
@@ -28,7 +28,7 @@ fw__uci_state_del() {
rest="${rest:+$rest${e1:+ }}$e1"
done
- uci_toggle_state $var "$val"
+ uci_toggle_state firewall core $var "$val"
}
fw_configure_interface() {