Changeset d3e4697 for lib/format_erf.c


Ignore:
Timestamp:
09/13/05 10:54:47 (15 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:
fba4ca0
Parents:
12290e6
Message:

Made sure that most formats set packet->status to zero when reading in a packet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r084d95a rd3e4697  
    478478        // have to copy it out of the memory hole at this stage:
    479479        memcpy(packet->buffer, erfptr, size);
    480 
     480       
     481        packet->status = 0;
    481482        packet->size = size;
    482483        DAG.offset += size;
     
    525526                return -1;
    526527        }
     528        packet->status = 0;
    527529        packet->size = rlen;
    528530        return rlen;
Note: See TracChangeset for help on using the changeset viewer.