diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-20 15:29:10 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-07-20 15:29:10 +0000 |
commit | 7aabfee4089389a1ee2748590ef64d6bb2543a0d (patch) | |
tree | 982b00833ac949916f20076bac89d47a01dc0022 /package/firewall | |
parent | 3bad82d2e78536d6db1d97a8f45a18e41f5b9fd6 (diff) |
[package] firewall: fix serious bug in state var handling (#9746)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27711 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/firewall')
-rw-r--r-- | package/firewall/Makefile | 2 | ||||
-rw-r--r-- | package/firewall/files/lib/core_interface.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 453da4ee3..394a2075d 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 ab58201e2..84e07e0e2 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() { |