Changeset c1f2553 for lib/format_erf.c


Ignore:
Timestamp:
02/24/06 10:59:11 (16 years ago)
Author:
Shane Alcock <salcock@…>
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:
913721f
Parents:
9836f12
Message:

Fixed bug where trace_event_dag passed a packet rather than a trace to get_fd
Initialised wtf output options to sensible values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    rd3b2234 rc1f2553  
    672672        erfptr = (dag_record_t *)packet->header;
    673673        erfptr->rlen = htons(size + erf_get_framing_length(packet));
     674        printf("Set length: %i\n", trace_get_capture_length(packet));
    674675        return trace_get_capture_length(packet);
    675676}
     
    690691
    691692        if (trace->format->get_fd) {
    692                 dag_fd = trace->format->get_fd(packet);
     693                dag_fd = trace->format->get_fd(trace);
    693694        } else {
    694695                dag_fd = 0;
Note: See TracChangeset for help on using the changeset viewer.