Changeset 856


Ignore:
Timestamp:
06/07/06 00:52:00 (7 years ago)
Author:
perry
Message:

protocol is in host byte order

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/protocols.c

    r835 r856  
    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.