Changeset d3b2234 for lib/trace.c


Ignore:
Timestamp:
02/23/06 15:22:40 (16 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:
9836f12
Parents:
b7d2de5
Message:

depacket->sizeification

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r52f8fc2 rd3b2234  
    15481548
    15491549        if (packet->trace->format->set_capture_length) {
    1550                 return packet->trace->format->set_capture_length(packet,size);
     1550                int caplen=packet->trace->format->set_capture_length(packet,size);
     1551                if (caplen!=-1) {
     1552                        packet->size=trace_get_framing_length(packet)+caplen;
     1553                }
     1554                return caplen;
    15511555        }
    15521556
Note: See TracChangeset for help on using the changeset viewer.