aboutsummaryrefslogtreecommitdiffstats
path: root/src/l2_packet/l2_packet.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-01-03 19:00:38 (GMT)
committerJouni Malinen <j@w1.fi>2009-01-03 19:00:38 (GMT)
commit2eba45c8de1a22a419b12a815d5beae82bd80fad (patch)
treef081e1e37824d50a18e63df634b12bb7bbf05620 /src/l2_packet/l2_packet.h
parent5306f43fc3967da86728d28a6bc53f1b74dc3ae6 (diff)
downloadhostap-2eba45c8de1a22a419b12a815d5beae82bd80fad.zip
hostap-2eba45c8de1a22a419b12a815d5beae82bd80fad.tar.gz
hostap-2eba45c8de1a22a419b12a815d5beae82bd80fad.tar.bz2
Added endianness annotation for sparse
Diffstat (limited to 'src/l2_packet/l2_packet.h')
-rw-r--r--src/l2_packet/l2_packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/l2_packet/l2_packet.h b/src/l2_packet/l2_packet.h
index b4824c5..c7b5014 100644
--- a/src/l2_packet/l2_packet.h
+++ b/src/l2_packet/l2_packet.h
@@ -38,7 +38,7 @@ struct l2_packet_data;
struct l2_ethhdr {
u8 h_dest[ETH_ALEN];
u8 h_source[ETH_ALEN];
- u16 h_proto;
+ be16 h_proto;
} STRUCT_PACKED;
#ifdef _MSC_VER