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
1 changed files with 1 additions and 1 deletions
|
@ -1251,7 +1251,7 @@ ospf_rt_abr1(struct ospf_proto *p)
|
||||||
FIB_WALK_END;
|
FIB_WALK_END;
|
||||||
|
|
||||||
|
|
||||||
if (ospf_is_v2(p))
|
if (ospf_is_ip4(p))
|
||||||
net_fill_ip4(&default_net, IP4_NONE, 0);
|
net_fill_ip4(&default_net, IP4_NONE, 0);
|
||||||
else
|
else
|
||||||
net_fill_ip6(&default_net, IP6_NONE, 0);
|
net_fill_ip6(&default_net, IP6_NONE, 0);
|
||||||
|
|
Loading…
Reference in a new issue