From 346441bf315532244e9066c0ff55708f06e0858b Mon Sep 17 00:00:00 2001 From: rgirada Date: Thu, 24 Feb 2022 09:33:08 -0800 Subject: [PATCH] ospfd: NULL passed instead of ei pointer in external lsa origination Description: NULL pointer wrongly passed instead of 'ei' pointer to ospf_external_lsa_originate() API in opaque capability enable/disable which always make it to fail in origination. Corrected it by passing actual ei pointer. Signed-off-by: Rajesh Girada (cherry picked from commit c16241898ae397ea6129111eea259850a6c9a04b) --- ospfd/ospf_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index c169996e01..8d5557a10d 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2184,7 +2184,7 @@ void ospf_external_lsa_rid_change(struct ospf *ospf) continue; if (!ospf_external_lsa_originate(ospf, - NULL)) + ei)) flog_warn( EC_OSPF_LSA_INSTALL_FAILURE, "LSA: AS-external-LSA was not originated.");