[Bro-Dev] DNS script bug?

Seth Hall seth at icir.org
Mon Nov 26 07:40:06 PST 2012

On Nov 25, 2012, at 3:49 PM, Matt Thompson <mthompson at hexwave.com> wrote:

> I think I figured it out.
>     if ( ! c$dns?$total_answers )
>       c$dns$total_answers = msg$num_answers;

Good catch, thanks!  I'll fix it in fastpath.

I'm actually going to fix it slightly differently though by setting the field to be &optional which seems to be what I had in mind in the first place.

Thanks again,

More information about the bro-dev mailing list