Ignore:
Timestamp:
03/03/06 17:36:04 (16 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:
eeab9832
Parents:
7dda48a
Message:

Update to support libtrace3, also fix (minor) warnings where possible!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereport/port_report.c

    re3b0188 rc3e6e47  
    1616{
    1717        struct libtrace_ip *ip = trace_get_ip(packet);
     18        int port;
    1819        if (!ip)
    1920                return;
    2021
    21         int port = trace_get_server_port(ip->ip_p,
     22        port = trace_get_server_port(ip->ip_p,
    2223                        trace_get_source_port(packet),
    2324                        trace_get_destination_port(packet))==USE_SOURCE
Note: See TracChangeset for help on using the changeset viewer.