Changeset 182d043


Ignore:
Timestamp:
08/22/08 13:25:59 (13 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:
553247b
Parents:
f45e8af
Message:

Be more aggressive with assert()ing on broken packets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r4569c93 r182d043  
    948948        }
    949949
     950        assert(packet->capture_length < LIBTRACE_PACKET_BUFSIZE);
     951
    950952        return packet->capture_length;
    951953}
Note: See TracChangeset for help on using the changeset viewer.