Changeset 3d4d52d for lib/format_pcap.c


Ignore:
Timestamp:
02/17/06 14:49:14 (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:
65a5900
Parents:
f03fc17
Message:

Abstract away opening up traces into a single trace_open_trace that's more
simple and reliable.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_pcap.c

    rf03fc17 r3d4d52d  
    226226        if (!OUTPUT.trace.pcap) {
    227227                OUTPUT.trace.pcap = (pcap_t *)pcap_open_dead(
    228                                 linktype_to_dlt(trace_get_link_type(packet)),
    229                                 65536);
     228                        libtrace_to_pcap_dlt(trace_get_link_type(packet)),
     229                        65536);
    230230                OUTPUT.trace.dump = pcap_dump_open(OUTPUT.trace.pcap,CONNINFO.path);
    231231                fflush((FILE *)OUTPUT.trace.dump);
Note: See TracChangeset for help on using the changeset viewer.