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:
Pierre Ossman 2010-12-12 13:18:00 +01:00 committed by Dan Williams
parent 5281c92311
commit 8229107589

View file

@ -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)