firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
This commit is contained in:
parent
c7173a211d
commit
90ac92e8be
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in a new issue