summaryrefslogtreecommitdiffhomepage
path: root/cli-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2015-02-20 22:13:53 +0800
committerMatt Johnston <matt@ucc.asn.au>2015-02-20 22:13:53 +0800
commit1b1997bf2da9322c526ec1da4358aae94f7de06e (patch)
tree4fb84c1562beeb5f9a442013ec11f4dd44e3b063 /cli-session.c
parent34f9adb1c962fd9ec951a9db8c2cae127257c735 (diff)
Update priority once the socket is open
--HG-- branch : fastopen
Diffstat (limited to 'cli-session.c')
-rw-r--r--cli-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli-session.c b/cli-session.c
index c2e4863..8cd75f8 100644
--- a/cli-session.c
+++ b/cli-session.c
@@ -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) {