Changeset f9d2f04


Ignore:
Timestamp:
11/13/06 17:36:03 (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:
b9aa767
Parents:
cec8028
Message:

Fix bug with legacy trace not being initialised properly
Remove debugging

Location:
lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lib/format_legacy.c

    rbb75d10 rf9d2f04  
    8686{
    8787        libtrace->format_data = malloc(sizeof(struct legacy_format_data_t));
     88
     89        DATA(libtrace)->input.file = NULL;
    8890
    8991        return 0;
  • lib/linktypes.c

    rbb75d10 rf9d2f04  
    233233                                = remaining;
    234234
    235                         fprintf(stderr,"%i %i %i %i\n",
    236                                         trace_get_capture_length(packet),
    237                                         trace_get_wire_length(packet),
    238                                         remaining,
    239                                         trace_get_capture_length(packet)-remaining);
    240 
    241235                        memcpy(tmp+sizeof(libtrace_pcapfile_pkt_hdr_t),
    242236                                        packet->payload,
Note: See TracChangeset for help on using the changeset viewer.