Changeset d923b5a


Ignore:
Timestamp:
08/21/06 23:13:58 (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:
dcbc330
Parents:
cde66c3
Message:

After demoting the packet, it's linktype may have changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_erf.c

    r3a169d7 rd923b5a  
    947947         * rlen to be the correct length
    948948         */
    949         /* I Think this is bogus -- Perry */
     949        /* I Think this is bogus, we should somehow figure out
     950         * a way to write out the payload even if it is gibberish -- Perry */
    950951        if (payload == NULL) {
    951952                dag_hdr->rlen = htons(dag_record_size + pad);
     
    975976                if (!find_compatible_linktype(packet))
    976977                        return -1;
     978
     979                payload=packet->payload;
     980                pad = erf_get_padding(packet);
    977981
    978982                erfhdr.type = libtrace_to_erf_type(trace_get_link_type(packet));
Note: See TracChangeset for help on using the changeset viewer.