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:
parent
8650e26dd1
commit
10498b8e89
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user