Ignore:
Timestamp:
12/24/06 17:14:50 (14 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, 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:
e2d49d5
Parents:
4bd8a5b
Message:

Fix warnings
Add command line parsing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/dir_report.c

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