Changeset 942


Ignore:
Timestamp:
08/22/06 00:25:39 (7 years ago)
Author:
perry
Message:

Fix broken endianness fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/libtrace.h.in

    r933 r942  
    430430/** 802.11 header */ 
    431431typedef struct libtrace_80211_t { 
    432 #ifdef BYTE_ORDER == LITTLE_ENDIAN 
     432#if BYTE_ORDER == LITTLE_ENDIAN 
    433433        LT_BITFIELD32      protocol:2; 
    434434        LT_BITFIELD32      type:2; 
     
    439439        LT_BITFIELD32      protocol:2; 
    440440#endif 
     441 
     442#if BYTE_ORDER == LITTLE_ENDIAN 
    441443        LT_BITFIELD32      to_ds:1;     /**< Packet to Distribution Service */ 
    442444        LT_BITFIELD32      from_ds:1;   /**< Packet from Distribution Service */ 
Note: See TracChangeset for help on using the changeset viewer.