Changeset 1f44884


Ignore:
Timestamp:
05/08/08 16:39:14 (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:
ae8ec56
Parents:
11a7f9c
Message:

prepare_packet was reading the packet into the beginning of the packet header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r89404f5 r1f44884  
    409409        msghdr.msg_flags = 0;
    410410
    411         iovec.iov_base = (void*)packet->buffer;
     411        iovec.iov_base = (void*)(packet->buffer+sizeof(*hdr));
    412412        iovec.iov_len = snaplen;
    413413
Note: See TracChangeset for help on using the changeset viewer.