Ignore:
Timestamp:
05/29/06 14:08:00 (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:
0eef5d4
Parents:
f208f92
Message:

Migrate tools to the new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracesplit/tracesplit.c

    rcd7eec7 r853603a  
    8080
    8181                switch (c) {
    82                         case 'f': filter=trace_bpf_setfilter(optarg);
     82                        case 'f': filter=trace_create_filter(optarg);
    8383                                break;
    8484                        case 'c': count=atoi(optarg);
     
    114114
    115115
    116                 if (filter && !trace_bpf_filter(filter,packet)) {
     116                if (filter && !trace_apply_filter(filter,packet)) {
    117117                        continue;
    118118                }
     
    179179                trace_destroy_output(output);
    180180
     181        trace_destroy_packet(packet);
     182
    181183        return 0;
    182184}
Note: See TracChangeset for help on using the changeset viewer.