mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16: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:
parent
7262a5c229
commit
b9256ceaf5
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
PKG_NAME:=firewall
|
PKG_NAME:=firewall
|
||||||
|
|
||||||
PKG_VERSION:=2
|
PKG_VERSION:=2
|
||||||
PKG_RELEASE:=24
|
PKG_RELEASE:=25
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ fw__uci_state_add() {
|
|||||||
val="${val// $item / }"
|
val="${val// $item / }"
|
||||||
val="${val# }"
|
val="${val# }"
|
||||||
val="${val% }"
|
val="${val% }"
|
||||||
|
uci_revert_state firewall core $var
|
||||||
uci_set_state firewall core $var "${val:+$val }$item"
|
uci_set_state firewall core $var "${val:+$val }$item"
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -19,6 +20,7 @@ fw__uci_state_del() {
|
|||||||
val="${val// $item / }"
|
val="${val// $item / }"
|
||||||
val="${val# }"
|
val="${val# }"
|
||||||
val="${val% }"
|
val="${val% }"
|
||||||
|
uci_revert_state firewall core $var
|
||||||
uci_set_state firewall core $var "$val"
|
uci_set_state firewall core $var "$val"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user