mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-01 06:48:00 +02:00
ip6: rdnss structure needs to be packed (bgo #637075)
The code assumes this structure is packed, so let's make sure it actually is.
This commit is contained in:
parent
5281c92311
commit
8229107589
1 changed files with 1 additions and 1 deletions
|
|
@ -575,7 +575,7 @@ struct nd_opt_rdnss {
|
|||
uint16_t nd_opt_rdnss_reserved1;
|
||||
uint32_t nd_opt_rdnss_lifetime;
|
||||
/* followed by one or more IPv6 addresses */
|
||||
};
|
||||
} __attribute__ ((packed));
|
||||
|
||||
static NMIP6Device *
|
||||
process_nduseropt (NMIP6Manager *manager, struct nl_msg *msg)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue