Changeset 77b3217 for lib/protocols.c


Ignore:
Timestamp:
06/08/06 00:14:47 (15 years ago)
Author:
Matt Brown <mattb@…>
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:
e7246a0
Parents:
ee2e2377
Message:

Fix a bug that prevented trace_get_payload_from_sll from returning the type
of the payload correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    r28b129e r77b3217  
    109109
    110110        /* What kind of wacked out header, has this in host order?! */
    111         if (*type) *type = htons(sll->protocol);
     111        if (type) *type = htons(sll->protocol);
    112112
    113113        ret=(void*)((char*)sll+sizeof(*sll));
Note: See TracChangeset for help on using the changeset viewer.