summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index b5a509a..6faed3a 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)) ==