Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#8 Support plain numbers in CSV output

stable-1.6
open
nobody
features (1)
5
2013-02-26
2013-02-26
No

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

Discussion

  • Unidiff patch against 1.6.8p1

     
    Attachments