diff options
author | Steven Barth <cyrus@openwrt.org> | 2008-09-15 18:57:39 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2008-09-15 18:57:39 +0000 |
commit | efb4cebbc6bf236a99c065417b553cd9eda0af8b (patch) | |
tree | c4e98cb56a7de2dbd791b0c773a3207734bfe7fa /package | |
parent | 772fe7fe71d929ae742edfc3b0b46a1877433b03 (diff) | |
download | mtk-20170518-efb4cebbc6bf236a99c065417b553cd9eda0af8b.zip mtk-20170518-efb4cebbc6bf236a99c065417b553cd9eda0af8b.tar.gz mtk-20170518-efb4cebbc6bf236a99c065417b553cd9eda0af8b.tar.bz2 |
Fixed a typo in firewall scripts, closes #4000
SVN-Revision: 12613
Diffstat (limited to 'package')
-rwxr-xr-x | package/firewall/files/uci_firewall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh index 0ce878b..85af805 100755 --- a/package/firewall/files/uci_firewall.sh +++ b/package/firewall/files/uci_firewall.sh @@ -251,7 +251,7 @@ fw_redirect() { [ "$src_dport_first" -ne "$src_dport_last" ] && { \ src_dport="$src_dport_first:$src_dport_last"; } - destport2=destport + dest_port2=$dest_port dest_port_first=${dest_port2%-*} dest_port_last=${dest_port2#*-} [ "$dest_port_first" -ne "$dest_port_last" ] && { \ |