summaryrefslogtreecommitdiffstats
path: root/nest/iface.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2010-12-17 15:56:28 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2010-12-17 15:56:28 +0100
commit6ccc6c31dbc8e37c11c627b528cd7bdd29278e97 (patch)
tree86117b68fa4aa9c3bf1bf92ce04a0588b83f50ec /nest/iface.c
parent386bfdaf9e4e8313efe546b26971d22f90db56fd (diff)
downloadbird-6ccc6c31dbc8e37c11c627b528cd7bdd29278e97.tar
bird-6ccc6c31dbc8e37c11c627b528cd7bdd29278e97.zip
Don't warn if a /64 link-local IPv6 address is found on a point-to-point interfacell-peering-old
Diffstat (limited to 'nest/iface.c')
-rw-r--r--nest/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/iface.c b/nest/iface.c
index c523678..2b0b9c6 100644
--- a/nest/iface.c
+++ b/nest/iface.c
@@ -483,7 +483,7 @@ ifa_update(struct ifa *a)
break;
}
- if (!(i->flags & IF_MULTIACCESS) && a->pxlen < BITS_PER_IP_ADDRESS - 2)
+ if (!(i->flags & IF_MULTIACCESS) && !ipa_has_link_scope(a->ip) && a->pxlen < BITS_PER_IP_ADDRESS - 2)
log(L_WARN "Strange prefix length %d for point-to-point interface %s", a->pxlen, i->name);
#ifndef IPV6
if ((i->flags & IF_BROADCAST) && !ipa_nonzero(a->brd))