blob: 8abd92e1b3c44e1f2a40f1b83a212814cdfd011f (
plain)
1
2
3
4
5
6
7
8
9
10
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;
|