Changeset 5945854 for lib


Ignore:
Timestamp:
09/27/06 11:22:10 (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:
fc2078d
Parents:
df3bd99
Message:

Fixed packet->size calculation for dag packets - dag seems to like throwing in extra padding at the end of packet too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    rbad6a93 r5945854  
    663663
    664664        if (packet->payload != NULL)
    665                 packet->size = size;
     665                packet->size = trace_get_capture_length(packet) +
     666                        erf_get_framing_length(packet);
    666667        else
    667668                packet->size = erf_get_framing_length(packet);
Note: See TracChangeset for help on using the changeset viewer.