mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Deprecate Val(double, TypeTag) ctor, add TimeVal/DoubleVal subclasses
This also updates all usages of the deprecated Val ctor to use either IntervalVal, TimeVal, or DoubleVal ctors. The reason for doing away with the old constructor is that using it with TYPE_INTERVAL isn't strictly correct since there exists a more specific subclass, IntervalVal, with overriden ValDescribe() method that ought to be used to print such values in a more descriptive way.
This commit is contained in:
parent
a431f6b45d
commit
5b4313b593
76 changed files with 847 additions and 782 deletions
|
@ -14,6 +14,6 @@
|
|||
1518042012.989543 testcount 0 2 ../configfile1
|
||||
1518042012.989543 testenum SSH::LOG Conn::LOG ../configfile1
|
||||
1518042012.989543 testint 0 -1 ../configfile1
|
||||
1518042012.989543 testinterval 1.0 sec 60.0 ../configfile2
|
||||
1518042012.989543 testinterval 1.0 sec 1.0 min ../configfile2
|
||||
1518042012.989543 testport 42/tcp 45/unknown ../configfile2
|
||||
1518042012.989543 testtime 0.0 1507321987.0 ../configfile2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue