[Bro-Dev] #754: Complete implementation of switch statement

Bro Tracker bro at tracker.bro-ids.org
Fri Dec 21 19:32:24 PST 2012

#754: Complete implementation of switch statement
  Reporter:  seth           |      Owner:  robin
      Type:  Merge Request  |     Status:  closed
  Priority:  Normal         |  Milestone:  Bro2.2
 Component:  Bro            |    Version:  git/master
Resolution:  fixed          |   Keywords:  language

Comment (by vern):

 Way back when I first was adding a few hooks for this, my intent had been
 to allow dynamic expressions rather than requiring constants.  That
 changes the flavor of the statement significantly (and raises the issue of
 how to deal with multiple labels that evaluate to the same value at run-
 time), but also my sense is this could be substantially more powerful.
 So, (1) what in particular is motivating this addition right now, and (2)
 thoughts on making it more dynamics?

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

More information about the bro-dev mailing list