diff options
| author | Roy Marples <roy@marples.name> | 2016-10-05 14:06:20 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-10-05 14:06:20 +0000 |
| commit | 18fa35e173bb2863faa3bc4f17e9a503cc6a2641 (patch) | |
| tree | b88f33fbf12303ab62f9ca5125f8473b6e41562b /ipv6nd.c | |
| parent | 007f0fddd394cf1dc64eecb73032bba27d4881f3 (diff) | |
| download | dhcpcd-18fa35e173bb2863faa3bc4f17e9a503cc6a2641.tar.xz | |
Remove packed from these structs.
Diffstat (limited to 'ipv6nd.c')
| -rw-r--r-- | ipv6nd.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -62,7 +62,8 @@ struct nd_opt_rdnss { /* RDNSS option RFC 6106 */ uint16_t nd_opt_rdnss_reserved; uint32_t nd_opt_rdnss_lifetime; /* followed by list of IP prefixes */ -} __packed; +}; +__CTASSERT(sizeof(struct nd_opt_rdnss) == 8); #endif #ifndef ND_OPT_DNSSL @@ -73,7 +74,8 @@ struct nd_opt_dnssl { /* DNSSL option RFC 6106 */ uint16_t nd_opt_dnssl_reserved; uint32_t nd_opt_dnssl_lifetime; /* followed by list of DNS servers */ -} __packed; +}; +__CTASSERT(sizeof(struct nd_opt_rdnss) == 8); #endif /* Impossible options, so we can easily add extras */ |
