Dont check netmask field on PTP links.
This commit is contained in:
parent
8910351c76
commit
4991756863
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue