Ignore:
Timestamp:
12/03/07 23:22:03 (5 years ago)
Author:
perry
Message:

Clarify why we implement a function then return failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_linux.c

    r1308 r1312  
    495495/* Linux doesn't keep track how many packets were seen before filtering 
    496496 * so we can't tell how many packets were filtered.  Bugger.  So annoying. 
     497 * 
     498 * Since we tell libtrace that we do support filtering, if we don't declare 
     499 * this here as failing, libtrace will happily report for us that it didn't 
     500 * filter any packets, so don't lie -- return that we don't know. 
    497501 */ 
    498502static uint64_t linuxnative_get_filtered_packets(libtrace_t *trace) { 
Note: See TracChangeset for help on using the changeset viewer.