Ignore:
Timestamp:
09/15/15 17:16:51 (6 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
8decff7
Parents:
624c2da
Message:

Fix all outstanding warnings

Implemented trace_get_statistics for formats that were missing it, so
we no longer need to use the deprecated trace_get_dropped_packets anywhere
within libtrace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/dir_report.c

    r39aa3c7 r5478d3d  
    1212void dir_per_packet(struct libtrace_packet_t *packet)
    1313{
    14         if (trace_get_direction(packet)==~0U)
     14        if (trace_get_direction(packet)==-1)
    1515                return;
    1616        dir_bytes[trace_get_direction(packet)]+=trace_get_wire_length(packet);
Note: See TracChangeset for help on using the changeset viewer.