Derive results of DNS lookups from from input when in BRO_DNS_FAKE mode.

Addresses BIT-1134.
This commit is contained in:
Jon Siwek 2014-03-14 12:01:09 -05:00
parent 8b241947d6
commit dbe5dfb3c3
3 changed files with 27 additions and 21 deletions

View file

@ -102,9 +102,6 @@ protected:
Val* BuildMappingVal(DNS_Mapping* dm);
TableVal* BuildFakeAddrResult();
const char* BuildFakeNameResult();
void AddResult(DNS_Mgr_Request* dr, struct nb_dns_result* r);
void CompareMappings(DNS_Mapping* prev_dm, DNS_Mapping* new_dm);
ListVal* AddrListDelta(ListVal* al1, ListVal* al2);
@ -166,8 +163,6 @@ protected:
RecordType* dm_rec;
uint32 dns_fake_count; // used to generate unique fake replies
typedef list<LookupCallback*> CallbackList;
struct AsyncRequest {