diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-13 21:22:13 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-03-13 21:22:13 +0000 |
commit | 6523857abae3426174816239cb3ef467c1584a14 (patch) | |
tree | c699099bd98c7f97cac493a105d9cad24a77f92a | |
parent | 9bbe7731c60aa44fd23e461ace2a80f2a923e7e8 (diff) |
[package] firewall: fix fw__uci_state_del() procedure (#11132)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30938 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/firewall/Makefile | 2 | ||||
-rw-r--r-- | package/firewall/files/lib/core_interface.sh | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/package/firewall/Makefile b/package/firewall/Makefile index 1367cc38d..791edca4b 100644 --- a/package/firewall/Makefile +++ b/package/firewall/Makefile @@ -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 diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh index 8023e7fb8..3d6718431 100644 --- a/package/firewall/files/lib/core_interface.sh +++ b/package/firewall/files/lib/core_interface.sh @@ -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() { |