remove data+=option_len error in cookie and keepalive

This commit is contained in:
FlyingWithJerome 2020-08-16 09:27:01 -04:00
parent 74efbd0abc
commit d75a385f8f
3 changed files with 8 additions and 10 deletions

View file

@ -816,7 +816,6 @@ bool DNS_Interpreter::ParseRR_EDNS(DNS_MsgInfo* msg,
{
// error. MUST BE 0 or 2 bytes
}
data += option_len;
break;
} // END EDNS TCP KEEPALIVE
@ -850,7 +849,6 @@ bool DNS_Interpreter::ParseRR_EDNS(DNS_MsgInfo* msg,
msg->BuildEDNS_COOKIE_Val(&cookie)
);
data += option_len;
break;
} // END EDNS COOKIE