diff options
| author | Roy Marples <roy@marples.name> | 2014-09-22 10:03:03 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-09-22 10:03:03 +0000 |
| commit | 30d48c293598a08abac23523e8897277d272b288 (patch) | |
| tree | 13bbc537823471e4bb67606199b05a84b6b363fc /ipv6.c | |
| parent | 3e4fb0bfdc541e49b66d9b6c312333dbe9519784 (diff) | |
| download | dhcpcd-30d48c293598a08abac23523e8897277d272b288.tar.xz | |
We can't add link-local addresses to POINTOPOINT interfaces,
the PPP process has to.
Fixes [8fb17a419d].
Diffstat (limited to 'ipv6.c')
| -rw-r--r-- | ipv6.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) { |
