summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/packet.h
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2012-04-22 07:46:29 +0100
committerAntonio Quartulli <ordex@autistici.org>2012-06-18 18:01:02 +0200
commite0f5211f9bbfaa66d27cda6b0dc86466c7dcb206 (patch)
tree09499c9f74a541eb5ff6e4b3ebe9a22886c71588 /net/batman-adv/packet.h
parent3e2f1a1bb528df14065a9287f37378ca453c52f9 (diff)
downloadlinux-e0f5211f9bbfaa66d27cda6b0dc86466c7dcb206.tar.bz2
batman-adv: keep batman_ogm_packet ->seqno net-endian all along
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'net/batman-adv/packet.h')
-rw-r--r--net/batman-adv/packet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/packet.h b/net/batman-adv/packet.h
index eaa602863fd2..5bf567b52534 100644
--- a/net/batman-adv/packet.h
+++ b/net/batman-adv/packet.h
@@ -117,7 +117,7 @@ struct batman_header {
struct batman_ogm_packet {
struct batman_header header;
uint8_t flags; /* 0x40: DIRECTLINK flag, 0x20 VIS_SERVER flag... */
- uint32_t seqno;
+ __be32 seqno;
uint8_t orig[ETH_ALEN];
uint8_t prev_sender[ETH_ALEN];
uint8_t gw_flags; /* flags related to gateway class */