[Bro-Dev] Per connection byte and packet counting

Vern Paxson vern at icir.org
Thu Dec 9 09:57:06 PST 2010


> BTW, a question, it seems that for optionals I can either assign a NULL
> pointer:
>   rv->Assign(n, NULL)
> or not assign anything at all. The policy-layer seems to handle both
> variants in the same way.

I think because they're equivalent.  All the above does is assign the
nth field to a NULL pointer, and presumably it's initialized to that
anyway.

		Vern


More information about the bro-dev mailing list