Changeset 6399a90 for lib/format_rt.c


Ignore:
Timestamp:
09/05/07 16:34:10 (14 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:
ed7e106
Parents:
a5908d2
Message:

Remove wag.h dependences

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_rt.c

    r2fbcb26 r6399a90  
    8888        libtrace_t *dummy_erf;
    8989        libtrace_t *dummy_pcap;
    90         libtrace_t *dummy_wag;
    9190        libtrace_t *dummy_linux;
    9291};
     
    198197        RT_INFO->dummy_erf = NULL;
    199198        RT_INFO->dummy_pcap = NULL;
    200         RT_INFO->dummy_wag = NULL;
    201199        RT_INFO->dummy_linux = NULL;
    202200        RT_INFO->pkt_buffer = NULL;
     
    274272        if (RT_INFO->dummy_pcap)
    275273                trace_destroy_dead(RT_INFO->dummy_pcap);
    276 
    277         if (RT_INFO->dummy_wag)
    278                 trace_destroy_dead(RT_INFO->dummy_wag);
    279274
    280275        if (RT_INFO->dummy_linux)
     
    391386                        packet->trace = RT_INFO->dummy_erf;
    392387                        break;
    393                 case TRACE_RT_DATA_WAG:
    394                         if (!RT_INFO->dummy_wag) {
    395                                 RT_INFO->dummy_wag = trace_create_dead("wtf:-");
    396                         }
    397                         packet->trace = RT_INFO->dummy_wag;
    398                         break;
    399388                case TRACE_RT_DATA_LINUX_NATIVE:
    400389                        if (!RT_INFO->dummy_linux) {
Note: See TracChangeset for help on using the changeset viewer.