1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:46:16 +02:00

[backfire] merge r26740

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@26741 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2011-04-20 11:50:04 +00:00
parent 7262a5c229
commit b9256ceaf5
2 changed files with 3 additions and 1 deletions

View File

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

View File

@ -8,6 +8,7 @@ fw__uci_state_add() {
val="${val// $item / }"
val="${val# }"
val="${val% }"
uci_revert_state firewall core $var
uci_set_state firewall core $var "${val:+$val }$item"
}
@ -19,6 +20,7 @@ fw__uci_state_del() {
val="${val// $item / }"
val="${val# }"
val="${val% }"
uci_revert_state firewall core $var
uci_set_state firewall core $var "$val"
}