firewall: fix serious bug in state var handling (#9746)

SVN-Revision: 27711
This commit is contained in:
Jo-Philipp Wich 2011-07-20 15:29:10 +00:00
parent c7173a211d
commit 90ac92e8be
2 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=firewall PKG_NAME:=firewall
PKG_VERSION:=2 PKG_VERSION:=2
PKG_RELEASE:=31 PKG_RELEASE:=32
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk

View file

@ -12,7 +12,7 @@ fw__uci_state_add() {
val="${val:+$val${e1:+ }}$e1" val="${val:+$val${e1:+ }}$e1"
done done
uci_toggle_state $var "$val" uci_toggle_state firewall core $var "$val"
} }
fw__uci_state_del() { fw__uci_state_del() {
@ -28,7 +28,7 @@ fw__uci_state_del() {
rest="${rest:+$rest${e1:+ }}$e1" rest="${rest:+$rest${e1:+ }}$e1"
done done
uci_toggle_state $var "$val" uci_toggle_state firewall core $var "$val"
} }
fw_configure_interface() { fw_configure_interface() {