firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
This commit is contained in:
parent
c7173a211d
commit
90ac92e8be
@ -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
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user