Changeset 859


Ignore:
Timestamp:
06/07/06 23:40:16 (7 years ago)
Author:
perry
Message:

Fix a similar bug for udp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/protocols.c

    r858 r859  
    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.