summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/ospf/rt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index 17f8be7f..faee49dc 100644
--- a/proto/ospf/rt.c
+++ b/proto/ospf/rt.c
@@ -1251,7 +1251,7 @@ ospf_rt_abr1(struct ospf_proto *p)
FIB_WALK_END;
- if (ospf_is_v2(p))
+ if (ospf_is_ip4(p))
net_fill_ip4(&default_net, IP4_NONE, 0);
else
net_fill_ip6(&default_net, IP6_NONE, 0);