mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 15:10:38 +00:00
Merge pull request #10127 from idryzhov/ospf-asbr-instance
ospfd: fix summary-address deletion
This commit is contained in:
commit
0e57e37925
@ -420,7 +420,7 @@ static void ospf_aggr_handle_external_info(void *data)
|
|||||||
{
|
{
|
||||||
struct external_info *ei = (struct external_info *)data;
|
struct external_info *ei = (struct external_info *)data;
|
||||||
struct ospf_external_aggr_rt *aggr = NULL;
|
struct ospf_external_aggr_rt *aggr = NULL;
|
||||||
struct ospf *ospf = NULL;
|
struct ospf *ospf = ei->ospf;
|
||||||
struct ospf_lsa *lsa = NULL;
|
struct ospf_lsa *lsa = NULL;
|
||||||
|
|
||||||
ei->aggr_route = 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__,
|
zlog_debug("%s: Handle extrenal route(%pI4/%d)", __func__,
|
||||||
&ei->p.prefix, ei->p.prefixlen);
|
&ei->p.prefix, ei->p.prefixlen);
|
||||||
|
|
||||||
ospf = ospf_lookup_instance(ei->instance);
|
|
||||||
|
|
||||||
assert(ospf);
|
assert(ospf);
|
||||||
|
|
||||||
if (!ospf_redistribute_check(ospf, ei, NULL))
|
if (!ospf_redistribute_check(ospf, ei, NULL))
|
||||||
|
Loading…
Reference in New Issue
Block a user