aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-15 18:57:39 +0000
committerSteven Barth <steven@midlink.org>2008-09-15 18:57:39 +0000
commit7f56337ca4b9ec3ea622f66e82502197aede4eb1 (patch)
tree401c981cba10fda71b945ee8951b266fe904dc59 /package
parentaa92a99d3914fc48cecabdb8739da073fda67130 (diff)
downloadmaster-187ad058-7f56337ca4b9ec3ea622f66e82502197aede4eb1.tar.gz
master-187ad058-7f56337ca4b9ec3ea622f66e82502197aede4eb1.tar.bz2
master-187ad058-7f56337ca4b9ec3ea622f66e82502197aede4eb1.zip
Fixed a typo in firewall scripts, closes #4000
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12613 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rwxr-xr-xpackage/firewall/files/uci_firewall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/uci_firewall.sh b/package/firewall/files/uci_firewall.sh
index 0ce878b7f7..85af805b7e 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" ] && { \