Changeset 25240c2 for lib/format_dag25.c


Ignore:
Timestamp:
12/20/06 10:39:54 (14 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:
eb1aab2
Parents:
5d56d34
Message:

Packet type was not being set when trace_event_dag was being used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_dag25.c

    r5e85c23 r25240c2  
    242242        packet->buffer = erfptr;
    243243        packet->header = erfptr;
     244        packet->type = TRACE_RT_DATA_ERF;
    244245        if (erfptr->flags.rxerror == 1) {
    245246                /* rxerror means the payload is corrupt - drop it
     
    276277                packet->buffer = 0;
    277278        }
    278 
    279         packet->type = TRACE_RT_DATA_ERF;
    280279
    281280        do {
Note: See TracChangeset for help on using the changeset viewer.