firewall: fix fw__uci_state_del() procedure (#11132)

SVN-Revision: 30938
lede-17.01
Jo-Philipp Wich 2012-03-13 21:22:13 +00:00
parent 654f9c879f
commit dd6c299d2e
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -1,4 +1,4 @@
# Copyright (C) 2009-2011 OpenWrt.org # Copyright (C) 2009-2012 OpenWrt.org
fw__uci_state_add() { fw__uci_state_add() {
local var="$1" local var="$1"
@ -28,7 +28,7 @@ fw__uci_state_del() {
rest="${rest:+$rest${e1:+ }}$e1" rest="${rest:+$rest${e1:+ }}$e1"
done done
uci_toggle_state firewall core $var "$val" uci_toggle_state firewall core $var "$rest"
} }
fw_configure_interface() { fw_configure_interface() {