[Bro-Dev] [JIRA] (BIT-893) calling event handler via local variable doesn't work
Jon Siwek (JIRA)
jira at bro-tracker.atlassian.net
Tue Mar 17 07:48:00 PDT 2015
[ https://bro-tracker.atlassian.net/browse/BIT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Siwek updated BIT-893:
--------------------------
Fix Version/s: (was: 2.4)
2.5
> calling event handler via local variable doesn't work
> -----------------------------------------------------
>
> Key: BIT-893
> URL: https://bro-tracker.atlassian.net/browse/BIT-893
> Project: Bro Issue Tracker
> Issue Type: Problem
> Components: Bro
> Affects Versions: git/master
> Reporter: Daniel Thayer
> Fix For: 2.5
>
>
> Calling an event handler (using the "event" statement)
> does not seem to work when the event handler being called
> is actually a local variable assigned to an existing
> event handler.
> There is a test case for this in the file
> bro/testing/btest/language/event.bro:
> event e4(num: count) \{...}
> event bro_init()
> \{
> [...]
> # Test assigning an event variable to an event
> local e5: event(num: count);
> e5 = e4;
> event e5(6); # TODO: this does not do anything
> }
--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)
More information about the bro-dev
mailing list