diff options
| author | Russ White <russ@riw.us> | 2022-10-29 10:38:27 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-29 10:38:27 -0400 |
| commit | 854b0ce9ec3cf466818aa3767fd1f887d8062671 (patch) | |
| tree | 5401c6d7eeda2dfc54f45e2fe5be08452653bd3e /ospfclient/ospfclient.c | |
| parent | c39c1d6ab5792baaec8c4f5fe617583c049422dd (diff) | |
| parent | c4fff21b8bd96ab0fbf659da3e6d151b341eb963 (diff) | |
Merge pull request #12172 from LabNConsulting/working/lb/api-zero-len-del-flag
OSPF opaques LSA API - fix bug with LL API delete, add option for zero data length withdrawals
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); } |
