[Bro-Dev] #895: Use of &redef attribute at inappropriate times

Bro Tracker bro at tracker.bro-ids.org
Fri Oct 12 14:48:57 PDT 2012


#895: Use of &redef attribute at inappropriate times
----------------------+------------------------
  Reporter:  seth     |      Owner:
      Type:  Problem  |     Status:  new
  Priority:  Normal   |  Milestone:  Bro2.2
 Component:  Bro      |    Version:  git/master
Resolution:           |   Keywords:
----------------------+------------------------

Comment (by vern):

 A couple of minor comments: (1) While it does appear to be unneeded, one
 could imagine a variant &noredef which means "do not allow any further
 redef'ing".  I'm not sure whether that's something we will ever wind up
 considering, though.  (2) In general, tests of attributes are a Good
 Thing.  But for whether this particular construct does anything at all,
 the direct way to tell is of course inspecting the code rather than trying
 to observe it externally.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/895#comment:5>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list