bro_scripts icon indicating copy to clipboard operation
bro_scripts copied to clipboard

Redundant function?

Open mkayoh opened this issue 9 years ago • 0 comments

Line 46 in bro-beacons.bro

intervals[i] = double_to_interval(double_to_count(interval_to_double(collection[i+1] - collection[i])));

Why isn't this just intervals[i] = interval_to_double(collection[i+1] - collection[i]))); ?

Right now it's generating errors because of negative values in intervals.

mkayoh avatar Apr 06 '16 12:04 mkayoh