Changeset a7d1914 for lib/linktypes.c


Ignore:
Timestamp:
09/27/06 15:53:27 (15 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:
742a332
Parents:
41b7eab
Message:

Remove packet->size as noone really knew what it held anyway, and disagreements
were more easily settled by removing it than standardising one way or the other.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r8889370 ra7d1914  
    173173                packet->payload=tmpbuffer+trace_get_framing_length(packet);
    174174                packet->type=pcap_dlt_to_rt(TRACE_DLT_LINUX_SLL);
    175                 packet->size+=sizeof(libtrace_sll_header_t);
    176175                ((struct pcap_pkthdr*) packet->header)->caplen+=
    177176                        sizeof(libtrace_sll_header_t);
Note: See TracChangeset for help on using the changeset viewer.