Commit 49917568 authored by Ondřej Filip's avatar Ondřej Filip

Dont check netmask field on PTP links.

parent 8910351c
......@@ -24,7 +24,7 @@ ospf_hello_receive(struct ospf_hello_packet *ps,
mask = ps->netmask;
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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment