aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iftop/patches/001-debian_armeb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iftop/patches/001-debian_armeb.patch')
-rw-r--r--package/network/utils/iftop/patches/001-debian_armeb.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/utils/iftop/patches/001-debian_armeb.patch b/package/network/utils/iftop/patches/001-debian_armeb.patch
new file mode 100644
index 0000000000..8abd92e1b3
--- /dev/null
+++ b/package/network/utils/iftop/patches/001-debian_armeb.patch
@@ -0,0 +1,11 @@
+--- a/ether.h
++++ b/ether.h
+@@ -12,7 +12,7 @@ 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;