]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix compile.
authorRoy Marples <roy@marples.name>
Wed, 2 Jul 2014 13:24:55 +0000 (13:24 +0000)
committerRoy Marples <roy@marples.name>
Wed, 2 Jul 2014 13:24:55 +0000 (13:24 +0000)
if-bsd.c

index a0b82f122a785c26c6e7b4ad6c93ef6715d803ed..ca2eb8c8d8b281b7cb6db6d378264095cb1ed373 100644 (file)
--- a/if-bsd.c
+++ b/if-bsd.c
@@ -1123,7 +1123,7 @@ if_checkipv6(struct dhcpcd_ctx *ctx, const char *ifname, int own)
                                return ra;
                        }
 #ifdef ND6_IFF_OVERRIDE_RTADV
-                       if (override == 0 && ctx->ra_kernel_set == 0 &&
+                       if (override == 0 &&
                            set_if_nd6_flag(ifname, ND6_IFF_OVERRIDE_RTADV)
                            == -1)
                        {