From 53f6cb2f85759304fe18f537285ae353898d2f8b Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Thu, 1 Mar 2007 15:34:04 +0000 Subject: [PATCH] compare with VNAK instead of VACK twice --- src/iodine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iodine.c b/src/iodine.c index 2beda70..8ba9255 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -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 */