Changeset 64ef531 for lib/trace.c


Ignore:
Timestamp:
08/08/04 16:19:28 (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:
cf86a61
Parents:
76b5ae9
Message:

Add fixme for when pcap open fails (don't have the docs handy to do it now)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r2137b49 r64ef531  
    291291                        if (libtrace->format == PCAP) {
    292292                                libtrace->input.pcap = pcap_open_offline(libtrace->conn_info.path, errbuf);
     293                                //TODO Check that the open succeeded
    293294                        } else {
    294295                                libtrace->input.file = gzopen(libtrace->conn_info.path, "r");
Note: See TracChangeset for help on using the changeset viewer.