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

SVN-Revision: 27711
master
Jo-Philipp Wich 14 years ago
parent c7173a211d
commit 90ac92e8be
  1. 2
      package/firewall/Makefile
  2. 4
      package/firewall/files/lib/core_interface.sh

@ -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…
Cancel
Save