Ignore:
Timestamp:
04/22/06 00:43:32 (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:
2d96bf2
Parents:
a4bfbf0
Message:

Remove reliance on pcap.h for DLT_'s (and while we're here, make them a pretty
enum, so we get warnings if we forget one somewhere)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcapfile.c

    rdd2eaee r114b8d6  
    288288        struct pcapfile_pkt_hdr_t *pcapptr
    289289                = (struct pcapfile_pkt_hdr_t *)packet->header;
    290         if (packet->type==pcap_dlt_to_rt(DLT_EN10MB))
     290        if (packet->type==pcap_dlt_to_rt(TRACE_DLT_EN10MB))
    291291                /* Include the missing FCS */
    292292                return swapl(packet->trace,pcapptr->wirelen)+4;
Note: See TracChangeset for help on using the changeset viewer.