[Bro-Dev] [JIRA] (BIT-1284) Cannot use variables as timeout intervals

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Fri Oct 31 08:42:07 PDT 2014


     [ https://bro-tracker.atlassian.net/browse/BIT-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jon Siwek updated BIT-1284:
---------------------------
    Resolution: Fixed
        Status: Closed  (was: Open)

Thanks, fixed in master.

> Cannot use variables as timeout intervals
> -----------------------------------------
>
>                 Key: BIT-1284
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1284
>             Project: Bro Issue Tracker
>          Issue Type: Improvement
>          Components: Bro
>            Reporter: AK
>             Fix For: 2.4
>
>
> Intuitively, scriptland should allow variables as timeout intervals. Compare the following:
> bro -e 'global t: interval = 2secs; when(1==1){print "1 is 1";} timeout 2secs {print "timed out";}'
> bro -e 'global t: interval = 2secs; when(1==1){print "1 is 1";} timeout t {print "timed out";}'



--
This message was sent by Atlassian JIRA
(v6.4-OD-07-004#64005)


More information about the bro-dev mailing list