From 7dcf974daf29a1d64c95d9815f504c5ce0d73b07 Mon Sep 17 00:00:00 2001 From: FlyingWithJerome Date: Sat, 15 Aug 2020 08:54:12 -0400 Subject: [PATCH] add units (100ms) to comments --- scripts/base/init-bare.zeek | 2 +- src/analyzer/protocol/dns/DNS.cc | 1 - src/analyzer/protocol/dns/DNS.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/base/init-bare.zeek b/scripts/base/init-bare.zeek index 8a9ab7146f..36aa4f6f4f 100644 --- a/scripts/base/init-bare.zeek +++ b/scripts/base/init-bare.zeek @@ -3705,7 +3705,7 @@ type dns_edns_ecs: 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 + keepalive_timeout: count; ##< Timeout value, in 100ms }; ## An additional DNS TSIG record. diff --git a/src/analyzer/protocol/dns/DNS.cc b/src/analyzer/protocol/dns/DNS.cc index 4610e0fcbb..58b0444b32 100644 --- a/src/analyzer/protocol/dns/DNS.cc +++ b/src/analyzer/protocol/dns/DNS.cc @@ -253,7 +253,6 @@ bool DNS_Interpreter::ParseAnswer(DNS_MsgInfo* msg, bool status; switch ( msg->atype ) { case TYPE_A: - // analyzer->Weird("parsing_A_record"); status = ParseRR_A(msg, data, len, rdlength); break; diff --git a/src/analyzer/protocol/dns/DNS.h b/src/analyzer/protocol/dns/DNS.h index 3752d5e36d..b0d6521a89 100644 --- a/src/analyzer/protocol/dns/DNS.h +++ b/src/analyzer/protocol/dns/DNS.h @@ -158,7 +158,7 @@ struct EDNS_ECS { struct EDNS_TCP_KEEPALIVE { bool keepalive_timeout_omitted; // whether the keepalive timeout is omitted - uint16_t keepalive_timeout; // the timeout value sent by the client/server + uint16_t keepalive_timeout; // the timeout value (in 100ms) sent by the client/server }; struct TSIG_DATA {