[package] firewall: fix serious bug in state var handling (#9746)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Jul 2011 15:29:10 +0000 (15:29 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 20 Jul 2011 15:29:10 +0000 (15:29 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27711 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

index 453da4e..394a207 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=firewall
 
 PKG_VERSION:=2
-PKG_RELEASE:=31
+PKG_RELEASE:=32
 
 include $(INCLUDE_DIR)/package.mk
 
index ab58201..84e07e0 100644 (file)
@@ -12,7 +12,7 @@ fw__uci_state_add() {
                val="${val:+$val${e1:+ }}$e1"
        done
 
-       uci_toggle_state $var "$val"
+       uci_toggle_state firewall core $var "$val"
 }
 
 fw__uci_state_del() {
@@ -28,7 +28,7 @@ fw__uci_state_del() {
                rest="${rest:+$rest${e1:+ }}$e1"
        done
 
-       uci_toggle_state $var "$val"
+       uci_toggle_state firewall core $var "$val"
 }
 
 fw_configure_interface() {
This page took 0.027073 seconds and 4 git commands to generate.