Changeset 28b129e for lib/protocols.c


Ignore:
Timestamp:
06/07/06 23:40:16 (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:
ee2e2377
Parents:
84a4bc3
Message:

Fix a similar bug for udp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    r84a4bc3 r28b129e  
    423423        udp=(libtrace_udp_t*)trace_get_transport(packet,&proto,NULL);
    424424
    425         if (proto != 17)
     425        if (!udp || proto != 17)
    426426                return NULL;
    427427
Note: See TracChangeset for help on using the changeset viewer.