Changeset 928 for trunk/lib/format_erf.c


Ignore:
Timestamp:
08/21/06 23:13:58 (7 years ago)
Author:
perry
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/format_erf.c

    r925 r928  
    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.