mirror of
https://github.com/opnsense/src.git
synced 2026-04-23 23:28:37 -04:00
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
This commit is contained in:
parent
f66116083c
commit
2b5dcd2ffe
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue