summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.c
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/ospfclient.c
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/ospfclient.c')
-rw-r--r--ospfclient/ospfclient.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospfclient/ospfclient.c b/ospfclient/ospfclient.c
index 3cfee7d573..edf814184a 100644
--- a/ospfclient/ospfclient.c
+++ b/ospfclient/ospfclient.c
@@ -98,9 +98,10 @@ static void lsa_delete(struct thread *t)
printf("Deleting LSA... ");
rc = ospf_apiclient_lsa_delete(oclient, area_id,
- atoi(args[2]), /* lsa type */
- atoi(args[3]), /* opaque type */
- atoi(args[4])); /* opaque ID */
+ atoi(args[2]), /* lsa type */
+ atoi(args[3]), /* opaque type */
+ atoi(args[4]), /* opaque ID */
+ 0); /* send data in withdrawals */
printf("done, return code is = %d\n", rc);
}