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

@ -3700,20 +3700,20 @@ type dns_edns_ecs: record {
address: string; ##< Client Subnet Address.
};
## An DNS EDNS TCP Keepalive (TCP_KA) record.
## An DNS EDNS TCP KEEPALIVE (TCP KEEPALIVE) record.
##
## .. zeek:see:: dns_EDNS_tcp_keepalive
type dns_edns_tcp_keepalive: record {
keepalive_timeout_omitted: bool; ##< Whether timeout value is omitted
keepalive_timeout: count; ##< Timeout value, in 100ms
keepalive_timeout_omitted: bool; ##< Whether timeout value is omitted.
keepalive_timeout: count; ##< Timeout value, in 100ms.
};
## An DNS EDNS COOKIE (COOKIE) record.
##
## .. zeek:see:: dns_EDNS_tcp_keepalive
## .. zeek:see:: dns_EDNS_cookie
type dns_edns_cookie: record {
client_cookie: string; ##< Cookie from the client (fixed 8 bytes)
server_cookie: string &default=""; ##< Cookie from the server (8 to 32 bytes)
client_cookie: string; ##< Cookie from the client (fixed 8 bytes).
server_cookie: string &default=""; ##< Cookie from the server (8 to 32 bytes).
};
## An additional DNS TSIG record.