]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Dont check netmask field on PTP links.
authorOndrej Filip <feela@network.cz>
Wed, 15 Sep 2004 19:33:01 +0000 (19:33 +0000)
committerOndrej Filip <feela@network.cz>
Wed, 15 Sep 2004 19:33:01 +0000 (19:33 +0000)
proto/ospf/hello.c

index 58d1423a8897132b259a586dc21b859e22c260fe..d3145b9fb1a3ad4dbf6774710e0c585cb8c682c8 100644 (file)
@@ -24,7 +24,7 @@ ospf_hello_receive(struct ospf_hello_packet *ps,
   mask = ps->netmask;
   ipa_ntoh(mask);
 
-  if ((ifa->type != OSPF_IT_VLINK) &&
+  if (((ifa->type != OSPF_IT_VLINK) || (ifa->type != OSPF_IT_PTP)) &&
       ((unsigned) ipa_mklen(mask) != ifa->iface->addr->pxlen))
   {
     log(L_ERR "%s%I%sbad netmask %I.", beg, faddr, rec, mask);