summaryrefslogtreecommitdiff
path: root/ospfclient/ospf_apiclient.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2022-10-16 15:19:37 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-10-29 14:38:46 +0000
commit3e95e20a6acb39c543261a36921de4fca23fdec9 (patch)
treee6b7034228089fea1d19cdc34866c29fc35749b6 /ospfclient/ospf_apiclient.h
parentd6eda57ab057d3c44373428a3e23c5c53e4bc105 (diff)
ospfd/ospfclient: add option to flush/withdrawal with zero length
default behavior is unchanged, i.e., to not zero Signed-off-by: Lou Berger <lberger@labn.net> (cherry picked from commit 2f30cb25747dc9657046c59ca1f378203192de26)
Diffstat (limited to 'ospfclient/ospf_apiclient.h')
-rw-r--r--ospfclient/ospf_apiclient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfclient/ospf_apiclient.h b/ospfclient/ospf_apiclient.h
index cbdb250141..b904937c2a 100644
--- a/ospfclient/ospf_apiclient.h
+++ b/ospfclient/ospf_apiclient.h
@@ -95,7 +95,8 @@ int ospf_apiclient_lsa_originate(struct ospf_apiclient *oclient,
host byte order */
int ospf_apiclient_lsa_delete(struct ospf_apiclient *oclient,
struct in_addr addr, uint8_t lsa_type,
- uint8_t opaque_type, uint32_t opaque_id);
+ uint8_t opaque_type, uint32_t opaque_id,
+ uint8_t flags);
/* Fetch async message and handle it */
int ospf_apiclient_handle_async(struct ospf_apiclient *oclient);