Changeset 1ca603b


Ignore:
Timestamp:
03/20/14 10:45:16 (7 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:
0e46fbc, 12e6a39, 74ecbc7, dad224b, faf16af
Parents:
67b6d9e
Message:

Fix byte-ordering of timestamps in legacy traces on PowerPC machines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_legacy.c

    rec56195 r1ca603b  
    421421{
    422422        legacy_ether_t *legacy = (legacy_ether_t*)packet->header;
    423         return legacy->ts;
     423        return bswap_le_to_host64(legacy->ts);
    424424
    425425
Note: See TracChangeset for help on using the changeset viewer.