[Bro] Convert count (storing float) to double

Ren, Wenyu wren3 at illinois.edu
Fri Nov 10 16:00:33 PST 2017


Hi Everyone,

This might be a dumb question, but does anyone know how to convert a float value stored in count type to double type in Bro? For example, 1092616192 should be converted to 10.0. I want to use DNP3 events such as "dnp3_analog_input_SPwFlag". However, the value is given in count but is actually a floating point value.

Thanks a lot.

Best,
Wenyu



Wenyu Ren
Ph.D. Candidate
Department of Computer Science
University of Illinois at Urbana-Champaign



More information about the Bro mailing list