Changeset 404210e


Ignore:
Timestamp:
08/04/06 15:50:48 (14 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:
7787d72
Parents:
4abd50b
Message:

Promote packet needs to increase the captured packet length by
sizeof(libtrace_ssl_header_t) bytes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    re5c2bc4 r404210e  
    148148                packet->payload=tmpbuffer+trace_get_framing_length(packet);
    149149                packet->type=pcap_dlt_to_rt(TRACE_DLT_LINUX_SLL);
     150                packet->size+=sizeof(libtrace_sll_header_t);
     151                ((struct pcap_pkthdr*) packet->header)->caplen+=
     152                        sizeof(libtrace_sll_header_t);
    150153                return;
    151154        }
Note: See TracChangeset for help on using the changeset viewer.