a8f35db3b2
git-svn-id: svn://svn.openwrt.org/openwrt/packages@16092 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;
|