Ignore:
Timestamp:
05/18/11 10:13:55 (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:
a288ed3
Parents:
b6664e8
Message:
  • Make tracepktdump report any errors that occur while reading packets
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracepktdump/tracepktdump.cc

    r83f2cbf r2336744  
    9494                        }
    9595                }
     96                printf("\n");
    9697
    97                 printf("\n");
     98                if (trace_is_err(trace)) {
     99                        trace_perror(trace, "trace_read_packet");
     100                }
    98101                trace_destroy(trace);
    99102        }
Note: See TracChangeset for help on using the changeset viewer.