Mercurial > dropbear
comparison cli-main.c @ 1016:257f7d5fca97
piggyback data on acks when making connections on linux
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 13 Feb 2015 22:49:15 +0800 |
parents | 5daedffd0769 |
children | 4121ca987e6a |
comparison
equal
deleted
inserted
replaced
1015:cb7b510b4dd2 | 1016:257f7d5fca97 |
---|---|
71 m_free(cli_opts.proxycmd); | 71 m_free(cli_opts.proxycmd); |
72 } else | 72 } else |
73 #endif | 73 #endif |
74 { | 74 { |
75 int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, | 75 int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport, |
76 0, &error); | 76 1, &error); |
77 sock_in = sock_out = sock; | 77 sock_in = sock_out = sock; |
78 } | 78 } |
79 | 79 |
80 if (sock_in < 0) { | 80 if (sock_in < 0) { |
81 dropbear_exit("%s", error); | 81 dropbear_exit("%s", error); |