1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 21:54:36 +02:00

Fixed a typo in firewall scripts, closes #4000

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12613 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
cyrus 2008-09-15 18:57:39 +00:00
parent bc0aaef0c3
commit e81a77ae5d

View File

@ -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" ] && { \