|
|
@ -396,10 +396,7 @@ async fn find_actual_destination(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if let Some(port) = force_port {
|
|
|
|
if let Some(port) = force_port {
|
|
|
|
FedDest::Named(
|
|
|
|
FedDest::Named(delegated_hostname, format!(":{}", port))
|
|
|
|
delegated_hostname,
|
|
|
|
|
|
|
|
format!(":{}", port.to_string()),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
add_port_to_hostname(&delegated_hostname)
|
|
|
|
add_port_to_hostname(&delegated_hostname)
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -432,10 +429,7 @@ async fn find_actual_destination(
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if let Some(port) = force_port {
|
|
|
|
if let Some(port) = force_port {
|
|
|
|
FedDest::Named(
|
|
|
|
FedDest::Named(hostname.clone(), format!(":{}", port))
|
|
|
|
hostname.clone(),
|
|
|
|
|
|
|
|
format!(":{}", port.to_string()),
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
add_port_to_hostname(&hostname)
|
|
|
|
add_port_to_hostname(&hostname)
|
|
|
|
}
|
|
|
|
}
|
|
|
|