[package] firewall: fix fw__uci_state_del() procedure (#11132)
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 13 Mar 2012 21:22:13 +0000 (21:22 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 13 Mar 2012 21:22:13 +0000 (21:22 +0000)
SVN-Revision: 30938

package/firewall/Makefile
package/firewall/files/lib/core_interface.sh

index 1367cc38ddf3ab0892799d148866b8a9bee21055..791edca4bb14c208189f9bfbceb7e5ea4c4ddd34 100644 (file)
@@ -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
 
index 8023e7fb8d0bb6c15693de1c2ef7e72c619550ae..3d6718431fb2f0fecce58f505bdc3c856ab96c6d 100644 (file)
@@ -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() {