Changeset 7ef672a for lib/protocols.c


Ignore:
Timestamp:
06/07/06 00:52:00 (16 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:
e867df4
Parents:
1f8a972
Message:

protocol is in host byte order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols.c

    rad96d00 r7ef672a  
    108108        }
    109109
    110         if (*type) *type = sll->protocol;
     110        /* What kind of wacked out header, has this in host order?! */
     111        if (*type) *type = htons(sll->protocol);
    111112
    112113        ret=(void*)((char*)sll+sizeof(*sll));
Note: See TracChangeset for help on using the changeset viewer.