bro_scripts
bro_scripts copied to clipboard
Redundant function?
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.