From 6c7ced9aeb80f789259e4fe09ee37402f3478bde Mon Sep 17 00:00:00 2001 From: pdw <> Date: Wed, 20 Jan 2010 22:32:50 +0000 Subject: [PATCH] Fix for armeb bug. --- ChangeLog | 2 ++ ether.h | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7038c11..8ab8d3a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ Unattributed items are by Paul Warren and Chris Lightfoot. Gerben Roest * Documentation fixes A. Costa (via Debian) +* Fix for armeb specific bug + Lennert Buytenhek (via Debian) 0.17 12/02/06 * Display top scale in bytes when measuring in bytes diff --git a/ether.h b/ether.h index 2355527..6da3673 100644 --- a/ether.h +++ b/ether.h @@ -12,7 +12,8 @@ struct ether_header { u_int8_t ether_dhost[ETHER_ADDR_LEN]; u_int8_t ether_shost[ETHER_ADDR_LEN]; u_int16_t ether_type; -}; +} __attribute__((packed)); + struct vlan_8021q_header { u_int16_t priority_cfi_vid;