diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-20 15:29:10 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-07-20 15:29:10 +0000 |
commit | 247397ca80d05b8a5b7b111ef2a71c6cdfb2fd59 (patch) | |
tree | 982b00833ac949916f20076bac89d47a01dc0022 /package/firewall/files/lib | |
parent | 5ee62f2cf95c57620b8ce951e984af79c2201681 (diff) | |
download | master-187ad058-247397ca80d05b8a5b7b111ef2a71c6cdfb2fd59.tar.gz master-187ad058-247397ca80d05b8a5b7b111ef2a71c6cdfb2fd59.tar.bz2 master-187ad058-247397ca80d05b8a5b7b111ef2a71c6cdfb2fd59.zip |
[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
Diffstat (limited to 'package/firewall/files/lib')
-rw-r--r-- | package/firewall/files/lib/core_interface.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/firewall/files/lib/core_interface.sh b/package/firewall/files/lib/core_interface.sh index ab58201e24..84e07e0e25 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() { |