Changeset 36f563c


Ignore:
Timestamp:
09/06/04 11:31:52 (17 years ago)
Author:
Sam Jansen <stj2@…>
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:
53de8c0
Parents:
db568cd
Message:

fixed packet->size for pcap - wasn't including the size of the pcap header.
Mad greets to sammyj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    rac96828 r36f563c  
    474474                numbytes = pcaphdr.len;
    475475       
    476                 packet->size = numbytes;
     476                packet->size = numbytes + sizeof(struct pcap_pkthdr);
    477477                return numbytes;
    478478        }
Note: See TracChangeset for help on using the changeset viewer.