mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-18 07:08:28 +02:00
12 lines
264 B
Diff
12 lines
264 B
Diff
|
--- 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;
|