From 2f30cb25747dc9657046c59ca1f378203192de26 Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Sun, 16 Oct 2022 15:19:37 +0000 Subject: ospfd/ospfclient: add option to flush/withdrawal with zero length default behavior is unchanged, i.e., to not zero Signed-off-by: Lou Berger --- ospfclient/ospfclient.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ospfclient/ospfclient.c') 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); } -- cgit v1.2.3