diff options
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index b5a509a7..6faed3a5 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -361,7 +361,7 @@ ospf_iface_sm(struct ospf_iface *ifa, int event) u8 ospf_iface_clasify(struct iface *ifa, struct ifa *addr) { - if (addr->flags & IA_UNNUMBERED) + if (ipa_nonzero(addr->opposite)) return OSPF_IT_PTP; if ((ifa->flags & (IF_MULTIACCESS | IF_MULTICAST)) == |