From 10498b8e89a4509bdd447bd14f07a3b3e35ae575 Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 26 May 2021 18:57:32 +0200 Subject: [PATCH] OSPF: Fix OSPFv3 in IPv4 mode with multiple areas Some area handling code got confused by IPv4 setup in OSPFv3 mode. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);