Changeset 66e6d16 for lib


Ignore:
Timestamp:
01/11/12 10:57:18 (9 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:
4eac98f
Parents:
8753bb8
Message:
  • Clear the cache after changing the capture length, as this may effect the cached values for "remaining" at each layer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    ra3041a4 r66e6d16  
    15021502
    15031503        if (packet->trace->format->set_capture_length) {
    1504                 return packet->trace->format->set_capture_length(packet,size);
     1504                packet->capture_length = packet->trace->format->set_capture_length(packet,size);
     1505                return packet->capture_length;
    15051506        }
    15061507
Note: See TracChangeset for help on using the changeset viewer.