From c16241898ae397ea6129111eea259850a6c9a04b Mon Sep 17 00:00:00 2001 From: rgirada Date: Thu, 24 Feb 2022 09:33:08 -0800 Subject: 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 --- ospfd/ospf_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_lsa.c') diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 3eb91d0eb..48751dfba 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2353,7 +2353,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."); -- cgit v1.2.3