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

Bro Tracker bro at tracker.bro.org
Fri May 3 09:36:37 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 jsiwek):

 In [changeset:6a7a242db93bc470d77026c894ad8d19a7f50010/bro]:
 {{{
 #!CommitTicketReference repository="bro"
 revision="6a7a242db93bc470d77026c894ad8d19a7f50010"
 Table lookups return copy of non-const &default vals (addresses #981).

 This prevents unintentional modifications to the &default value itself.
 }}}

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



More information about the bro-dev mailing list