From: Roy Marples Date: Mon, 22 Sep 2014 10:03:03 +0000 (+0000) Subject: We can't add link-local addresses to POINTOPOINT interfaces, X-Git-Tag: v6.4.6~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=30d48c293598a08abac23523e8897277d272b288;p=thirdparty%2Fdhcpcd.git We can't add link-local addresses to POINTOPOINT interfaces, the PPP process has to. Fixes [8fb17a419d]. --- diff --git a/ipv6.c b/ipv6.c index 3ccc30bb..ee4afcb8 100644 --- a/ipv6.c +++ b/ipv6.c @@ -996,6 +996,11 @@ ipv6_start(struct interface *ifp) const struct ipv6_state *state; const struct ipv6_addr *ap; + /* We can't assign a link-locak address to this, + * the ppp process has to. */ + if (ifp->flags & IFF_POINTOPOINT) + return 0; + state = IPV6_CSTATE(ifp); if (state) { TAILQ_FOREACH(ap, &state->addrs, next) {