summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpdw <>2010-01-20 22:32:50 +0000
committerpdw <>2010-01-20 22:32:50 +0000
commit6c7ced9aeb80f789259e4fe09ee37402f3478bde (patch)
tree64c49c8102dc69d09e43dde3cb1b1ae5a7c732cc
parent4eb85aa475324c6f4814fe3cfeb57bcf4aa5df60 (diff)
downloadiftop-6c7ced9aeb80f789259e4fe09ee37402f3478bde.zip
Fix for armeb bug.
-rw-r--r--ChangeLog2
-rw-r--r--ether.h3
2 files changed, 4 insertions, 1 deletions
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 <g.roest@grepit.nl>
* Documentation fixes
A. Costa <agcosta@gis.net> (via Debian)
+* Fix for armeb specific bug
+ Lennert Buytenhek <buytenh+debian@wantstofly.org> (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;