[package] firewall: fix fw__uci_state_del() procedure (#11132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30938 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
24f8f16390
commit
8693b9821b
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
PKG_NAME:=firewall
|
||||
|
||||
PKG_VERSION:=2
|
||||
PKG_RELEASE:=47
|
||||
PKG_RELEASE:=48
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (C) 2009-2011 OpenWrt.org
|
||||
# Copyright (C) 2009-2012 OpenWrt.org
|
||||
|
||||
fw__uci_state_add() {
|
||||
local var="$1"
|
||||
|
@ -28,7 +28,7 @@ fw__uci_state_del() {
|
|||
rest="${rest:+$rest${e1:+ }}$e1"
|
||||
done
|
||||
|
||||
uci_toggle_state firewall core $var "$val"
|
||||
uci_toggle_state firewall core $var "$rest"
|
||||
}
|
||||
|
||||
fw_configure_interface() {
|
||||
|
|
Loading…
Reference in New Issue