[Bro] How to construct constant "time" values
robin at icir.org
Mon Oct 1 09:32:07 PDT 2007
On Mon, Oct 01, 2007 at 07:55 -0700, Vern Paxson wrote:
> > have_request ? network_time() : x
> It's not. Currently, there are no constructors for absolute time values.
> This is because a convincing need for them hasn't come up. If you have
> one, let's hear it!, and then we can considering adding this functinonality.
I suppose the application here is to use a time of zero as a null
value, i.e., as an indicator that one doesn't have a time.
As a work-around, double_to_time(0.0) should work.
Robin Sommer * Phone +1 (510) 931-5555 * robin at icir.org
LBNL/ICSI * Fax +1 (510) 666-2956 * www.icir.org
More information about the Bro