0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

OSPF: Fix OSPFv3 in IPv4 mode with multiple areas

Some area handling code got confused by IPv4 setup in OSPFv3 mode.
This commit is contained in:
Ondrej Zajicek (work) 2021-05-26 18:57:32 +02:00
parent 8650e26dd1
commit 10498b8e89

View File

@ -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);