Changeset 1352

Show
Ignore:
Timestamp:
08/05/08 16:39:14 (8 months ago)
Author:
perry
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/format_linux.c

    r1350 r1352  
    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