From: Ondrej Zajicek (work) Date: Wed, 26 May 2021 16:57:32 +0000 (+0200) Subject: OSPF: Fix OSPFv3 in IPv4 mode with multiple areas X-Git-Tag: v2.0.9~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10498b8e89a4509bdd447bd14f07a3b3e35ae575;p=thirdparty%2Fbird.git OSPF: Fix OSPFv3 in IPv4 mode with multiple areas Some area handling code got confused by IPv4 setup in OSPFv3 mode. --- diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 17f8be7fe..faee49dc0 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);