Changeset e1fdc05 for lib/linktypes.c


Ignore:
Timestamp:
06/28/07 15:43:40 (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:
1344aa8
Parents:
0c47bf4
Message:
  • Added format for Auckland VII-style ATM header captures
  • Fixed bug in format_legacy where a non-64 byte record would cause an assert fail - it will now keep trying to read until it gets a 64 byte record or reaches EOF.
  • trace_copy_packet was not initializing the cached values sensibly which was wreaking havoc - this is now fixed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/linktypes.c

    r7c72e4d re1fdc05  
    258258{
    259259        uint8_t type;
    260         uint32_t remaining;
     260        uint32_t remaining = 0;
    261261        char *tmp;
    262262        struct timeval tv;
     
    267267                        packet->payload=trace_get_payload_from_atm(
    268268                                packet->payload,&type,&remaining);
    269 
     269                        if (!packet->payload)
     270                                return false;
    270271                        tmp=(char*)malloc(
    271272                                trace_get_capture_length(packet)
Note: See TracChangeset for help on using the changeset viewer.