Fixing a dns reporter message in master.

This commit is contained in:
Seth Hall 2013-07-18 09:24:22 -04:00
parent 7427ce511b
commit 1e32100fed
5 changed files with 32 additions and 0 deletions

View file

@ -207,6 +207,11 @@ event DNS::do_reply(c: connection, msg: dns_msg, ans: dns_answer, reply: string)
{
if ( ans$answer_type == DNS_ANS )
{
if ( ! c?$dns )
{
event conn_weird("dns_unmatched_reply", c, "");
hook set_session(c, msg, F);
}
c$dns$AA = msg$AA;
c$dns$RA = msg$RA;