]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
BSD: Fix INET flags on RTM_NEWADDR messages.
authorRoy Marples <roy@marples.name>
Wed, 22 Jan 2020 19:25:14 +0000 (19:25 +0000)
committerRoy Marples <roy@marples.name>
Wed, 22 Jan 2020 19:26:11 +0000 (19:26 +0000)
src/if-bsd.c

index 4fb6fb6947dbc6fba64684ca6e2d9dcb1883993b..534e2f457ed175ab2601c4067f12a25966d18bf3 100644 (file)
@@ -1418,7 +1418,7 @@ if_ifa(struct dhcpcd_ctx *ctx, const struct ifa_msghdr *ifam)
 #endif
 
 #ifdef HAVE_IFAM_ADDRFLAGS
-               flags = ifam->ifam_flags;
+               flags = ifam->ifam_addrflags;
 #else
                flags = 0;
 #endif