Changeset dcbc330


Ignore:
Timestamp:
08/21/06 23:14:22 (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:
37168af
Parents:
d923b5a
Message:

The packet size has increased -- bump the wirelen too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r1c1e4a2 rdcbc330  
    155155                ((struct pcap_pkthdr*) packet->header)->caplen+=
    156156                        sizeof(libtrace_sll_header_t);
     157                ((struct pcap_pkthdr*) packet->header)->len+=
     158                        sizeof(libtrace_sll_header_t);
    157159                return;
    158160        }
     
    179181                                        return false;
    180182                        }
     183                        /* Skip the Linux SLL header */
    181184                        packet->payload=(void*)((char*)packet->payload
    182185                                        +sizeof(libtrace_sll_header_t));
Note: See TracChangeset for help on using the changeset viewer.