Ignore:
Timestamp:
05/29/06 14:33:24 (15 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:
c2cb712
Parents:
853603a
Message:

Upgrade the skeletons to the new API

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/skeleton/complete.c

    r48a20e3 r0eef5d4  
    4646                switch (c) {
    4747                        case 'f':
    48                                 filter=trace_bpf_setfilter(optarg);
     48                                filter=trace_create_filter(optarg);
    4949                                break;
    5050                        case 's':
     
    104104                }
    105105
     106                trace_destroy_packet(packet);
     107
    106108                if (trace_is_err(trace)) {
    107109                        trace_perror(trace,"Reading packets");
Note: See TracChangeset for help on using the changeset viewer.