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

AK (JIRA) jira at bro-tracker.atlassian.net
Thu Oct 30 20:21:07 PDT 2014


AK created BIT-1284:
-----------------------

             Summary: 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


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