mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Dont check netmask field on PTP links.
This commit is contained in:
parent
8910351c76
commit
4991756863
@ -24,7 +24,7 @@ ospf_hello_receive(struct ospf_hello_packet *ps,
|
|||||||
mask = ps->netmask;
|
mask = ps->netmask;
|
||||||
ipa_ntoh(mask);
|
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))
|
((unsigned) ipa_mklen(mask) != ifa->iface->addr->pxlen))
|
||||||
{
|
{
|
||||||
log(L_ERR "%s%I%sbad netmask %I.", beg, faddr, rec, mask);
|
log(L_ERR "%s%I%sbad netmask %I.", beg, faddr, rec, mask);
|
||||||
|
Loading…
Reference in New Issue
Block a user