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
0752cc9eee
commit
0063462a65
@ -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 New Issue
Block a user