diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-05-26 18:57:32 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-05-26 18:57:32 +0200 |
commit | 10498b8e89a4509bdd447bd14f07a3b3e35ae575 (patch) | |
tree | 07351fd07afa325a60920340b5d60a06c539b891 | |
parent | 8650e26dd1566032d587a654376092a9f31a1123 (diff) |
OSPF: Fix OSPFv3 in IPv4 mode with multiple areas
Some area handling code got confused by IPv4 setup in OSPFv3 mode.
-rw-r--r-- | proto/ospf/rt.c | 2 |
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); |