mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-18 09:22:49 +02:00
c3c2e7407a
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33702 3c298f89-4303-0410-b956-a3cf2f4a3e73
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;
|