From 6982cc044d3a4da684ff3c6db3748cab4825e52c Mon Sep 17 00:00:00 2001 From: Samuel Jero Date: Wed, 16 Nov 2011 17:28:58 -0500 Subject: [PATCH] bugfix for 6667c43df783 "Add warning about malformed ACK vectors"---I'm an idiot --- dccp2tcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dccp2tcp.c b/dccp2tcp.c index a1a036a..62b0910 100644 --- a/dccp2tcp.c +++ b/dccp2tcp.c @@ -534,8 +534,8 @@ unsigned int interp_ack_vect(u_char* hdr) bp+= (*cur & 0x3F)+1; } - if(((*cur& 0xF0)!= 0xC0) && ((*cur& 0xF0)!= 0x00) && ((*cur& 0xF0)!= 0x40)){ - dbgprintf(1, "Warning: Invalid Ack Vector!! (Linux will handle poorly!)\n"); + if(((*cur& 0xC0)!= 0xC0) && ((*cur& 0xC0)!= 0x00) && ((*cur& 0xC0)!= 0x40)){ + dbgprintf(1, "Warning: Invalid Ack Vector!! (Linux will handle poorly!) -- %X\n", *cur); } tmp--; cur++; -- 2.39.2