fix(cmd_line): correctly parse port when it is 443
This commit is contained in:
parent
30cd4a72b9
commit
d15d8e36f0
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ fn parse_tunnel_dest(remaining: &str) -> Result<(Host<String>, u16, BTreeMap<Str
|
||||||
));
|
));
|
||||||
};
|
};
|
||||||
|
|
||||||
let Some(remote_port) = remote.port() else {
|
let Some(remote_port) = remote.port_or_known_default() else {
|
||||||
return Err(Error::new(
|
return Err(Error::new(
|
||||||
ErrorKind::InvalidInput,
|
ErrorKind::InvalidInput,
|
||||||
format!("cannot parse remote port from {}", remaining),
|
format!("cannot parse remote port from {}", remaining),
|
||||||
|
|
Loading…
Reference in a new issue