mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Use % rather than # for port delimiter
This commit is contained in:
@@ -610,7 +610,7 @@ static void parse_hostname(const char* orighostarg) {
|
||||
cli_opts.username = m_strdup(cli_opts.own_user);
|
||||
}
|
||||
|
||||
port = strchr(cli_opts.remotehost, '#');
|
||||
port = strchr(cli_opts.remotehost, '%');
|
||||
if (!port) {
|
||||
// legacy separator
|
||||
port = strchr(cli_opts.remotehost, '/');
|
||||
|
||||
Reference in New Issue
Block a user