Changeset a842286 for lib/trace.c


Ignore:
Timestamp:
04/06/06 20:50:57 (15 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:
9231fe5
Parents:
4029ce7
Message:

Finish migration to protocols.c, add more IPv6 support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r4af54d1 ra842286  
    11251125uint16_t trace_get_source_port(const struct libtrace_packet_t *packet)
    11261126{
    1127         struct ports_t *port = trace_get_transport(packet);
     1127        struct ports_t *port = trace_get_transport(packet, NULL);
    11281128
    11291129        return ntohs(port->src);
     
    11331133uint16_t trace_get_destination_port(const struct libtrace_packet_t *packet)
    11341134{
    1135         struct ports_t *port = trace_get_transport(packet);
     1135        struct ports_t *port = trace_get_transport(packet, NULL);
    11361136
    11371137        return ntohs(port->dst);
Note: See TracChangeset for help on using the changeset viewer.