mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
remove data+=option_len error in cookie and keepalive
This commit is contained in:
parent
74efbd0abc
commit
d75a385f8f
3 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -540,7 +540,7 @@ event dns_EDNS_ecs%(c: connection, msg: dns_msg, opt: dns_edns_ecs%);
|
|||
##
|
||||
## msg: The parsed DNS message header.
|
||||
##
|
||||
## opt: The parsed EDNS option.
|
||||
## opt: The parsed EDNS Keepalive option.
|
||||
##
|
||||
## .. zeek:see:: dns_AAAA_reply dns_A_reply dns_CNAME_reply dns_HINFO_reply dns_MX_reply
|
||||
## dns_NS_reply dns_PTR_reply dns_SOA_reply dns_SRV_reply dns_TSIG_addl
|
||||
|
@ -563,7 +563,7 @@ event dns_EDNS_tcp_keepalive%(c: connection, msg: dns_msg, opt: dns_edns_tcp_kee
|
|||
##
|
||||
## msg: The parsed DNS message header.
|
||||
##
|
||||
## opt: The parsed EDNS option.
|
||||
## opt: The parsed EDNS Cookie option.
|
||||
##
|
||||
## .. zeek:see:: dns_AAAA_reply dns_A_reply dns_CNAME_reply dns_HINFO_reply dns_MX_reply
|
||||
## dns_NS_reply dns_PTR_reply dns_SOA_reply dns_SRV_reply dns_TSIG_addl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue