Changeset 740661f


Ignore:
Timestamp:
12/01/10 10:30:03 (10 years ago)
Author:
Shane Alcock <salcock@…>
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:
078bd65
Parents:
2ec8434
Message:
  • Fixed bug in the pcap bpf test that was causing it to fail on certain systems
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/test-pcap-bpf.c

    r125ec3d r740661f  
    8080        packet=trace_create_packet();
    8181        for (;;) {
    82                 if ((psize = trace_read_packet(trace, packet)) <0) {
    83                         error = 1;
     82                if ((psize = trace_read_packet(trace, packet)) <=0) {
     83                        if (psize != 0) error = 1;
    8484                        break;
    8585                }
Note: See TracChangeset for help on using the changeset viewer.