1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Fixed 802.11 _header

This commit is contained in:
Santiago Alessandri
2011-08-20 20:32:55 -03:00
parent e3dd417c47
commit 2d27d02d32

View File

@@ -357,17 +357,17 @@ namespace Tins {
struct ieee80211_header {
struct {
#if __BYTE_ORDER == __LITTLE_ENDIAN
unsigned int order:1;
unsigned int wep:1;
unsigned int more_data:1;
unsigned int power_mgmt:1;
unsigned int retry:1;
unsigned int more_frag:1;
unsigned int from_ds:1;
unsigned int to_ds:1;
unsigned int subtype:4;
unsigned int type:2;
unsigned int protocol:2;
unsigned int type:2;
unsigned int subtype:4;
unsigned int to_ds:1;
unsigned int from_ds:1;
unsigned int more_frag:1;
unsigned int retry:1;
unsigned int power_mgmt:1;
unsigned int more_data:1;
unsigned int wep:1;
unsigned int order:1;
#elif __BYTE_ORDER == __BIG_ENDIAN
unsigned int protocol:2;
unsigned int type:2;