mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
[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
This commit is contained in:
parent
3bad82d2e7
commit
7aabfee408
@ -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