Ignore:
Timestamp:
06/27/07 16:32:30 (14 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:
21ab138
Parents:
9b06a91
Message:

Added uncompressed trace size to the misc-report in tracereport
Fixed incorrect byte-ordering of wire length in legacyeth

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_legacy.c

    r4a207b8 r954a329  
    178178static int legacyeth_get_wire_length(const libtrace_packet_t *packet) {
    179179        legacy_ether_t *leth = (legacy_ether_t *)packet->header;
    180         return ntohs(leth->wlen);
     180        return leth->wlen;
    181181}
    182182
Note: See TracChangeset for help on using the changeset viewer.