Support plain numbers in CSV output
netflow collecting and processing tools
Brought to you by:
phaag
Tiny patch to add support for the plain numbers (-N) option to the CSV output format (-o csv), it's somewhat of an
ugly kludge, since I didn't find a better way of passing the plain_numbers to flow_record_to_csv(), than making
no_scale extern.
Purpose is to get protocol as numbers (1, 6, 17 etc) instead of names (ICMP, TCP, UDP etc) and TCP flags as a
hex number (0x02) instead of the visual representation (....S.).
Also the client_nw_delay_usec, server_nw_delay_usec and appl_latency_usec had leading spaces in the current
CSV ouput, e.g. , 0.000, 0.000, 0.000
Unidiff patch against 1.6.8p1