mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Don't shift version out of peerid, it is needed later.
This commit is contained in:
parent
abb4e9e2fa
commit
b0a99e85b6
2
client.c
2
client.c
@ -596,7 +596,7 @@ client_dispatch_wait(struct imsg *imsg)
|
|||||||
|
|
||||||
fprintf(stderr, "protocol version mismatch "
|
fprintf(stderr, "protocol version mismatch "
|
||||||
"(client %d, server %u)\n", PROTOCOL_VERSION,
|
"(client %d, server %u)\n", PROTOCOL_VERSION,
|
||||||
imsg->hdr.peerid);
|
imsg->hdr.peerid & 0xff);
|
||||||
client_exitval = 1;
|
client_exitval = 1;
|
||||||
proc_exit(client_proc);
|
proc_exit(client_proc);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user