summaryrefslogtreecommitdiffhomepage
path: root/cli-main.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-13 22:49:15 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-13 22:49:15 +0800
commit9aeda4c5bd03af043cd40a6b34609ec042a1e2dc (patch)
treee5694a2038cd2673df657e10d772517c58c7e50a /cli-main.c
parent8eb30c353a319a5d71eadfadb595a9f5765f0678 (diff)
piggyback data on acks when making connections on linux
Diffstat (limited to 'cli-main.c')
-rw-r--r--cli-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-main.c b/cli-main.c
index 0b4047c..20f19a4 100644
--- a/cli-main.c
+++ b/cli-main.c
@@ -73,7 +73,7 @@ int main(int argc, char ** argv) {
#endif
{
int sock = connect_remote(cli_opts.remotehost, cli_opts.remoteport,
- 0, &error);
+ 1, &error);
sock_in = sock_out = sock;
}