Update priority once the socket is open

--HG--
branch : fastopen
This commit is contained in:
Matt Johnston
2015-02-20 22:13:53 +08:00
parent 34f9adb1c9
commit 1b1997bf2d
2 changed files with 6 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ void cli_connected(int result, int sock, void* userdata, const char *errstring)
dropbear_exit("Connect failed: %s", errstring);
}
ses.sock_in = ses.sock_out = sock;
update_channel_prio();
}
void cli_session(int sock_in, int sock_out, struct dropbear_progress_connection *progress) {