From: Roy Marples Date: Thu, 18 Dec 2014 10:09:54 +0000 (+0000) Subject: Don't set RA ownership in test mode. X-Git-Tag: v6.6.7~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d965ccde4fdeb4e34de7808220712c78f096cb2;p=thirdparty%2Fdhcpcd.git Don't set RA ownership in test mode. --- diff --git a/dhcpcd.c b/dhcpcd.c index 734d8c69..b4644ed0 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -370,7 +370,8 @@ configure_interface1(struct interface *ifp) if (!(ifo->options & DHCPCD_IPV6)) ifo->options &= ~(DHCPCD_IPV6RS | DHCPCD_DHCP6); - if (ifo->options & DHCPCD_SLAACPRIVATE) + if (ifo->options & DHCPCD_SLAACPRIVATE && + !(ifp->ctx->options & DHCPCD_TEST)) ifo->options |= DHCPCD_IPV6RA_OWN; /* We want to disable kernel interface RA as early as possible. */