Changeset 9b8ece6


Ignore:
Timestamp:
11/20/09 22:24:51 (11 years ago)
Author:
Yuwei Wang <yww4@…>
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:
099c35e
Parents:
550be94
Message:

fixed packet creation bug, where the new packet was not created but deleted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracereplay/tracereplay.c

    r550be94 r9b8ece6  
    2323  libtrace_linktype_t linktype;
    2424  void * pkt_buffer = trace_get_packet_buffer(packet,&linktype,&remaining);
    25   libtrace_packet_t *new_packet;
     25  libtrace_packet_t *new_packet = trace_create_packet();
    2626
    2727  size_t wire_length = trace_get_wire_length(packet);
Note: See TracChangeset for help on using the changeset viewer.