Revision 8df02847 proto/ospf/hello.c

View differences:

proto/ospf/hello.c
253 253
#ifdef OSPFv2
254 254
  pkt->netmask = ipa_mkmask(ifa->addr->pxlen);
255 255
  ipa_hton(pkt->netmask);
256
  if ((ifa->type == OSPF_IT_VLINK) || (ifa->type == OSPF_IT_PTP))
256
  if ((ifa->type == OSPF_IT_VLINK) ||
257
      ((ifa->type == OSPF_IT_PTP) && !ifa->ptp_netmask))
257 258
    pkt->netmask = IPA_NONE;
258 259
#endif
259 260

  

Also available in: Unified diff