summaryrefslogtreecommitdiff
path: root/ospfd/ospf_api.h
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 /ospfd/ospf_api.h
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 'ospfd/ospf_api.h')
-rw-r--r--ospfd/ospf_api.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ospfd/ospf_api.h b/ospfd/ospf_api.h
index 51c8c52ce5..589e650bbd 100644
--- a/ospfd/ospf_api.h
+++ b/ospfd/ospf_api.h
@@ -186,7 +186,7 @@ struct msg_originate_request {
};
struct msg_delete_request {
- struct in_addr area_id; /* "0.0.0.0" for AS-external opaque LSAs */
+ struct in_addr addr; /* intf IP for link local, area for type 10, "0.0.0.0" for AS-external */
uint8_t lsa_type;
uint8_t opaque_type;
uint8_t pad[2]; /* padding */
@@ -311,8 +311,7 @@ extern struct msg *new_msg_originate_request(uint32_t seqnum,
struct in_addr ifaddr,
struct in_addr area_id,
struct lsa_header *data);
-extern struct msg *new_msg_delete_request(uint32_t seqnum,
- struct in_addr area_id,
+extern struct msg *new_msg_delete_request(uint32_t seqnum, struct in_addr addr,
uint8_t lsa_type, uint8_t opaque_type,
uint32_t opaque_id);