mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 08:23:56 +00:00
lib: afi_ether structure packing fix
'packed' keyword had no effect on packing the afi_ethernet structure. The attribute keyword has been eppended in order to take into account the packed feature. Signed-off-by: Julien Courtat <julien.courtat@6wind.com>
This commit is contained in:
parent
4470c22cad
commit
79c0c95986
@ -44,7 +44,7 @@
|
||||
*/
|
||||
struct ethaddr {
|
||||
u_char octet[ETHER_ADDR_LEN];
|
||||
} __packed;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
|
||||
/* length is the number of valuable bits of prefix structure
|
||||
|
Loading…
Reference in New Issue
Block a user