Changeset 9bc4689 for lib/linktypes.c


Ignore:
Timestamp:
09/06/07 01:07:07 (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:
fbc4342
Parents:
180f095
Message:

Move everything over to using the newer API's

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    re1fdc05 r9bc4689  
    210210                switch(pcap_linktype_to_libtrace(rt_to_pcap_linktype(packet->type))) {
    211211                        case TRACE_TYPE_NONE:
    212                                 trace_get_payload_from_link(
    213                                         trace_get_link(packet),
    214                                         trace_get_link_type(packet),
    215                                         &hdr->protocol,
    216                                         NULL);
     212                                trace_get_layer3(packet, &hdr->protocol, NULL);
    217213                                hdr->hatype = htons(ARPHRD_PPP);
    218214                                hdr->protocol=htons(hdr->protocol);
Note: See TracChangeset for help on using the changeset viewer.