summaryrefslogtreecommitdiffstats
path: root/nest
diff options
context:
space:
mode:
Diffstat (limited to 'nest')
-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))