mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Add merging to DNS_Mgr::AddResult() to support both ipv4 and ipv6 responses simultaneously
This commit is contained in:
parent
9f197aa458
commit
3bdc744b14
4 changed files with 120 additions and 60 deletions
|
@ -52,6 +52,8 @@ public:
|
|||
|
||||
int Type() const { return map_type; }
|
||||
|
||||
void Merge(DNS_Mapping* other);
|
||||
|
||||
protected:
|
||||
friend class DNS_Mgr;
|
||||
|
||||
|
@ -70,7 +72,7 @@ protected:
|
|||
ListValPtr addrs_val;
|
||||
|
||||
double creation_time = 0.0;
|
||||
int map_type = 0;
|
||||
int map_type = AF_UNSPEC;
|
||||
bool no_mapping = false; // when initializing from a file, immediately hit EOF
|
||||
bool init_failed = false;
|
||||
bool failed = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue