Revision 8df02847 proto/ospf/iface.c

View differences:

proto/ospf/iface.c
537 537
#ifdef OSPFv2
538 538
  ifa->autype = ip->autype;
539 539
  ifa->passwords = ip->passwords;
540
  ifa->ptp_netmask = !(addr->flags & IA_PEER);
541
  if (ip->ptp_netmask < 2)
542
    ifa->ptp_netmask = ip->ptp_netmask;
540 543
#endif
541 544

  
542 545
#ifdef OSPFv3

Also available in: Unified diff