From 7aabfee4089389a1ee2748590ef64d6bb2543a0d Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 20 Jul 2011 15:29:10 +0000 Subject: [package] firewall: fix serious bug in state var handling (#9746) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27711 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 ab58201e2..84e07e0e2 100644 --- a/package/firewall/files/lib/core_interface.sh +++ b/package/firewall/files/lib/core_interface.sh @@ -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() { -- cgit v1.2.3