From 85a291ff3055f0b10ffc199138c67305f5b3fc98 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 2 May 2000 15:21:51 +0000 Subject: IPv6 address classification fixes. --- nest/iface.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nest/iface.c') diff --git a/nest/iface.c b/nest/iface.c index b58b183..d41b39d 100644 --- a/nest/iface.c +++ b/nest/iface.c @@ -371,8 +371,10 @@ ifa_update(struct ifa *a) if (!(i->flags & IF_MULTIACCESS) && 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)) log(L_ERR "Missing broadcast address for interface %s", i->name); +#endif b = mb_alloc(if_pool, sizeof(struct ifa)); memcpy(b, a, sizeof(struct ifa)); -- cgit v1.2.3