Merge pull request #10127 from idryzhov/ospf-asbr-instance

ospfd: fix summary-address deletion
This commit is contained in:
Donatas Abraitis 2021-11-27 10:20:02 +01:00 committed by GitHub
commit 0e57e37925
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,7 +420,7 @@ static void ospf_aggr_handle_external_info(void *data)
{
struct external_info *ei = (struct external_info *)data;
struct ospf_external_aggr_rt *aggr = NULL;
struct ospf *ospf = NULL;
struct ospf *ospf = ei->ospf;
struct ospf_lsa *lsa = NULL;
ei->aggr_route = NULL;
@ -431,8 +431,6 @@ static void ospf_aggr_handle_external_info(void *data)
zlog_debug("%s: Handle extrenal route(%pI4/%d)", __func__,
&ei->p.prefix, ei->p.prefixlen);
ospf = ospf_lookup_instance(ei->instance);
assert(ospf);
if (!ospf_redistribute_check(ospf, ei, NULL))