summaryrefslogtreecommitdiff
path: root/ospfclient/ospf_apiclient.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2022-10-21 11:12:11 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-10-29 14:38:45 +0000
commitd6eda57ab057d3c44373428a3e23c5c53e4bc105 (patch)
treea2f8f297f720e28baca7e38195318650e5c9de8a /ospfclient/ospf_apiclient.c
parent99267afe94eb286cf3f55db4244982022058096a (diff)
ospfd: ospf_apiserver.c - fix link local opaque LSA delete
Signed-off-by: Lou Berger <lberger@labn.net> (cherry picked from commit 08172828f6dc0950431e57e43b0aa2dc674cb6fe)
Diffstat (limited to 'ospfclient/ospf_apiclient.c')
-rw-r--r--ospfclient/ospf_apiclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c
index b5f5d77d82..155e3fab40 100644
--- a/ospfclient/ospf_apiclient.c
+++ b/ospfclient/ospf_apiclient.c
@@ -487,7 +487,7 @@ int ospf_apiclient_lsa_originate(struct ospf_apiclient *oclient,
}
int ospf_apiclient_lsa_delete(struct ospf_apiclient *oclient,
- struct in_addr area_id, uint8_t lsa_type,
+ struct in_addr addr, uint8_t lsa_type,
uint8_t opaque_type, uint32_t opaque_id)
{
struct msg *msg;
@@ -502,8 +502,8 @@ int ospf_apiclient_lsa_delete(struct ospf_apiclient *oclient,
/* opaque_id is in host byte order and will be converted
* to network byte order by new_msg_delete_request */
- msg = new_msg_delete_request(ospf_apiclient_get_seqnr(), area_id,
- lsa_type, opaque_type, opaque_id);
+ msg = new_msg_delete_request(ospf_apiclient_get_seqnr(), addr, lsa_type,
+ opaque_type, opaque_id);
rc = ospf_apiclient_send_request(oclient, msg);
return rc;