]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix incorrect CTASSERT in ND_OPT_DNSSL (#178)
authorKlaus Frank <agowa338@users.noreply.github.com>
Thu, 26 Jan 2023 10:23:55 +0000 (10:23 +0000)
committerGitHub <noreply@github.com>
Thu, 26 Jan 2023 10:23:55 +0000 (10:23 +0000)
Fix incorrect CTASSERT in ND_OPT_DNSSL

src/ipv6nd.c

index 24274790016863529aa2867c568c2e1ab8fba567..906bb93ee3fefda570a01c9ac1dfc3640e734a66 100644 (file)
@@ -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 */