Mercurial > dropbear
diff cli-runopts.c @ 895:5608a5a61c2a
Change port separator to ^ since % is used in ipv6 addresses
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 15 Feb 2014 21:42:35 +0800 |
parents | c19acba28590 |
children | a0819ecfee0b |
line wrap: on
line diff
--- a/cli-runopts.c Sat Feb 15 21:23:41 2014 +0800 +++ b/cli-runopts.c Sat Feb 15 21:42:35 2014 +0800 @@ -617,7 +617,7 @@ 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, '/');