From 6ccc6c31dbc8e37c11c627b528cd7bdd29278e97 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 17 Dec 2010 15:56:28 +0100 Subject: Don't warn if a /64 link-local IPv6 address is found on a point-to-point interface --- nest/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- cgit v1.2.3