From: Roy Marples Date: Tue, 18 Nov 2014 11:47:45 +0000 (+0000) Subject: Disable IPv6RS if a loopback, pointopoint or not a multicast interface. X-Git-Tag: v6.6.3~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b626d5c0eb7c1ea0dd77abd9af6e2cd51b63b10;p=thirdparty%2Fdhcpcd.git Disable IPv6RS if a loopback, pointopoint or not a multicast interface. --- diff --git a/dhcpcd.c b/dhcpcd.c index 28dbe89f..e7262b62 100644 --- a/dhcpcd.c +++ b/dhcpcd.c @@ -351,7 +351,8 @@ configure_interface1(struct interface *ifp) if (ifp->flags & IFF_NOARP || ifo->options & (DHCPCD_INFORM | DHCPCD_STATIC)) ifo->options &= ~(DHCPCD_ARP | DHCPCD_IPV4LL); - if (!(ifp->flags & (IFF_POINTOPOINT | IFF_LOOPBACK | IFF_MULTICAST))) + if (ifp->flags & (IFF_POINTOPOINT | IFF_LOOPBACK) || + !(ifp->flags & IFF_MULTICAST)) ifo->options &= ~DHCPCD_IPV6RS; if (ifo->metric != -1)