diff options
| author | Lou Berger <lberger@labn.net> | 2022-10-16 15:19:37 +0000 |
|---|---|---|
| committer | Lou Berger <lberger@labn.net> | 2022-10-21 15:27:58 +0000 |
| commit | 2f30cb25747dc9657046c59ca1f378203192de26 (patch) | |
| tree | e064c47134e510a7544f9990a92692e5e657fe4e /ospfclient/ospfclient.c | |
| parent | 08172828f6dc0950431e57e43b0aa2dc674cb6fe (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>
Diffstat (limited to 'ospfclient/ospfclient.c')
| -rw-r--r-- | ospfclient/ospfclient.c | 7 |
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); } |
