Ignore:
Timestamp:
11/28/05 10:15:22 (15 years ago)
Author:
Daniel Lawson <dlawson@…>
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:
08594b8
Parents:
14d8a63
Message:

updated the examples/ and tools/ directories to correctly use trace_packet_create() now.

fixed a typo in format_wag (shouldn't use pcap_get_framing_length for wag!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/libpacketdump.cc

    re3b0188 r3840760  
    6464
    6565        printf("%s",ctime(&sec));
    66         decode_next(link,packet->size-(link-packet->buffer),"link",trace_get_link_type(packet));
     66        decode_next(link,packet->size - trace_get_framing_length(packet),"link",trace_get_link_type(packet));
    6767}
    6868
Note: See TracChangeset for help on using the changeset viewer.