mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
parent
772fe7fe71
commit
efb4cebbc6
@ -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" ] && { \
|
||||
|
Loading…
Reference in New Issue
Block a user