mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-25 17:18:09 +00:00
compare with VNAK instead of VACK twice
This commit is contained in:
parent
503a5a4406
commit
53f6cb2f85
@ -356,7 +356,7 @@ handshake(int dns_fd)
|
||||
|
||||
printf("Version ok, both running 0x%08x. You are user #%d\n", VERSION, userid);
|
||||
goto perform_login;
|
||||
} else if (strncmp("VACK", in, 4) == 0) {
|
||||
} else if (strncmp("VNAK", in, 4) == 0) {
|
||||
errx(1, "you run 0x%08x, server runs 0x%08x. giving up\n",
|
||||
VERSION, payload);
|
||||
/* NOTREACHED */
|
||||
|
Loading…
x
Reference in New Issue
Block a user