diff options
author | rgirada <rgirada@vmware.com> | 2022-02-24 18:33:08 +0100 |
---|---|---|
committer | rgirada <rgirada@vmware.com> | 2022-02-24 18:33:08 +0100 |
commit | c16241898ae397ea6129111eea259850a6c9a04b (patch) | |
tree | 116327ea6a0448af4014bb56731cca51458635b3 /ospfd/ospf_lsa.c | |
parent | Merge pull request #10632 from donaldsharp/thread_return_null (diff) | |
download | frr-c16241898ae397ea6129111eea259850a6c9a04b.tar.xz frr-c16241898ae397ea6129111eea259850a6c9a04b.zip |
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 <rgirada@vmware.com>
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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."); |