Explorar o código

Fixed a typo in firewall scripts, closes #4000

SVN-Revision: 12613
Steven Barth %!s(int64=17) %!d(string=hai) anos
pai
achega
efb4cebbc6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      package/firewall/files/uci_firewall.sh

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