udhcpc6: Fixed aliasing compilation error
authorMartin Lewis <martin.lewis.x84@gmail.com>
Sun, 26 May 2019 12:22:44 +0000 (14:22 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 26 May 2019 12:24:32 +0000 (14:24 +0200)
Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/d6_common.h

index 2178cb9d619a7752c23c2b564bbfc2c6faeb1962..dee2558e21bfb8b5e64e09353e389774bb21c29a 100644 (file)
@@ -141,7 +141,7 @@ struct client6_data_t {
        unsigned env_idx;
        /* link-local IPv6 address */
        struct in6_addr ll_ip6;
-};
+} FIX_ALIASING;
 
 #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)]))