aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netgraph/ng_pppoe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c
index 2378e7a0a08f..b97af26fbbd5 100644
--- a/sys/netgraph/ng_pppoe.c
+++ b/sys/netgraph/ng_pppoe.c
@@ -868,7 +868,7 @@ pppoe_start(sessp sp)
struct {
struct pppoe_tag hdr;
union uniq data;
- } uniqtag;
+ } __attribute ((packed)) uniqtag;
/*
* kick the state machine into starting up
@@ -910,7 +910,7 @@ ng_pppoe_rcvdata(hook_p hook, item_p item)
struct {
struct pppoe_tag hdr;
union uniq data;
- } uniqtag;
+ } __attribute ((packed)) uniqtag;
negp neg = NULL;
struct mbuf *m;