RAs for all interfaces we control. This patch fixes this and
updates the man page to reflect this better.
-.\" Copyright (c) 2006-2012 Roy Marples
+.\" Copyright (c) 2006-2013 Roy Marples
.\" All rights reserved
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd October 11, 2012
+.Dd February 5, 2013
.Dt DHCPCD.CONF 5 SMM
.Os
.Sh NAME
.%T "RFC 3927"
.Re
.It Ic noipv6rs
-Disable solicition of IPv6 Router Advertisements.
+Disable solicitation and receipt of IPv6 Router Advertisements.
.It Ic nolink
Don't receive link messages about carrier status.
You should only set this for buggy interface drivers.
syslog(LOG_ERR, "RA for unexpected interface from %s", sfrom);
return;
}
+ if (!(ifp->options->options & DHCPCD_IPV6RS)) {
+#ifdef DEBUG_RS
+ syslog(LOG_DEBUG, "%s: unexpected RA from %s",
+ ifp->name, sfrom);
+#endif
+ return;
+ }
TAILQ_FOREACH(rap, &ipv6_routers, next) {
if (ifp == rap->iface &&
memcmp(rap->from.s6_addr, from.sin6_addr.s6_addr,