aboutsummaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-26 18:57:32 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2021-05-26 18:57:32 +0200
commit10498b8e89a4509bdd447bd14f07a3b3e35ae575 (patch)
tree07351fd07afa325a60920340b5d60a06c539b891 /proto
parent8650e26dd1566032d587a654376092a9f31a1123 (diff)
downloadbird-10498b8e89a4509bdd447bd14f07a3b3e35ae575.tar.gz
OSPF: Fix OSPFv3 in IPv4 mode with multiple areas
Some area handling code got confused by IPv4 setup in OSPFv3 mode.
Diffstat (limited to 'proto')
-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);