Mercurial > dropbear
comparison cli-session.c @ 1031:64c0aa01e2b6 fastopen
Update priority once the socket is open
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 20 Feb 2015 22:13:53 +0800 |
parents | daf21fd50abf |
children | 0da8ba489c23 |
comparison
equal
deleted
inserted
replaced
1030:1fff5d7163f6 | 1031:64c0aa01e2b6 |
---|---|
98 if (result == DROPBEAR_FAILURE) | 98 if (result == DROPBEAR_FAILURE) |
99 { | 99 { |
100 dropbear_exit("Connect failed: %s", errstring); | 100 dropbear_exit("Connect failed: %s", errstring); |
101 } | 101 } |
102 ses.sock_in = ses.sock_out = sock; | 102 ses.sock_in = ses.sock_out = sock; |
103 update_channel_prio(); | |
103 } | 104 } |
104 | 105 |
105 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) { | 106 void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) { |
106 | 107 |
107 common_session_init(sock_in, sock_out); | 108 common_session_init(sock_in, sock_out); |