diff options
author | brian <brian@FreeBSD.org> | 2001-08-02 09:28:31 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-08-02 09:28:31 +0000 |
commit | 55328fd4bf7096c3e003d6473be7fe5f910e1ae2 (patch) | |
tree | e6ddee2259f6b63d89cff12923b5ff548471b673 /sys/netgraph/ng_pppoe.c | |
parent | c0f2ee660652bdd8e5e2746f0d65f00a52c54b96 (diff) | |
download | FreeBSD-src-55328fd4bf7096c3e003d6473be7fe5f910e1ae2.zip FreeBSD-src-55328fd4bf7096c3e003d6473be7fe5f910e1ae2.tar.gz |
Pack struct uniqtag declarations to stop our data field from being pushed
4 bytes to the right on the alpha.
Tested by: Thomas Pornin <Thomas.Pornin@ens.fr>
MFC after: 1 week
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r-- | sys/netgraph/ng_pppoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index 2378e7a..b97af26 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; |