From: Klaus Frank Date: Thu, 26 Jan 2023 10:23:55 +0000 (+0000) Subject: Fix incorrect CTASSERT in ND_OPT_DNSSL (#178) X-Git-Tag: v10.0.0~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dc0ddcd24a647c560a4fb7d0f10a9fbf0ee5695;p=thirdparty%2Fdhcpcd.git Fix incorrect CTASSERT in ND_OPT_DNSSL (#178) Fix incorrect CTASSERT in ND_OPT_DNSSL --- diff --git a/src/ipv6nd.c b/src/ipv6nd.c index 24274790..906bb93e 100644 --- a/src/ipv6nd.c +++ b/src/ipv6nd.c @@ -92,7 +92,7 @@ struct nd_opt_dnssl { /* DNSSL option RFC 6106 */ uint32_t nd_opt_dnssl_lifetime; /* followed by list of DNS servers */ }; -__CTASSERT(sizeof(struct nd_opt_rdnss) == 8); +__CTASSERT(sizeof(struct nd_opt_dnssl) == 8); #endif /* Impossible options, so we can easily add extras */