[Bro-Dev] #981: &default record only creates one record

Bro Tracker bro at tracker.bro.org
Thu May 2 15:49:36 PDT 2013


#981: &default record only creates one record
-----------------------+------------------------
  Reporter:  dmandelb  |      Owner:
      Type:  Problem   |     Status:  new
  Priority:  Low       |  Milestone:  Bro2.2
 Component:  Bro       |    Version:  git/master
Resolution:            |   Keywords:
-----------------------+------------------------

Comment (by robin):

 On Thu, May 02, 2013 at 21:54 -0000, you wrote:

 >  >>An alternative would be to have the lookup return a copy of the
 >  >>default, but not modify the table.
 >  >
 >  >That makes sense to me in any case.  In fact, I'm surprised this isn't
 >  >what already happens.
 >
 >  This is simple to change, are we ok with going this route?

 Sounds good to me. It should optimize for the constant case though
 where a copy isn't needed.

-- 
Ticket URL: <http://tracker.bro.org/bro/ticket/981#comment:1>
Bro Tracker <http://tracker.bro.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list