diff options
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh.c,v 1.506 2019/09/06 14:45:34 naddy Exp $ */ | 1 | /* $OpenBSD: ssh.c,v 1.507 2019/09/13 04:27:35 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1369,7 +1369,7 @@ main(int ac, char **av) | |||
1369 | timeout_ms = options.connection_timeout * 1000; | 1369 | timeout_ms = options.connection_timeout * 1000; |
1370 | 1370 | ||
1371 | /* Open a connection to the remote host. */ | 1371 | /* Open a connection to the remote host. */ |
1372 | if (ssh_connect(ssh, host, addrs, &hostaddr, options.port, | 1372 | if (ssh_connect(ssh, host_arg, host, addrs, &hostaddr, options.port, |
1373 | options.address_family, options.connection_attempts, | 1373 | options.address_family, options.connection_attempts, |
1374 | &timeout_ms, options.tcp_keep_alive) != 0) | 1374 | &timeout_ms, options.tcp_keep_alive) != 0) |
1375 | exit(255); | 1375 | exit(255); |