From dd6c299d2ec8cee240be7edf7ac3d75d4ae9ee31 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 13 Mar 2012 21:22:13 +0000 Subject: firewall: fix fw__uci_state_del() procedure (#11132) SVN-Revision: 30938 --- package/firewall/files/lib/core_interface.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/firewall/files') diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh index 8023e7f..3d67184 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() { -- cgit v1.1