Fixed: [Netconf commit confirm session-id mismatch #407](https://github.com/clicon/clixon/issues/407)

This commit is contained in:
Olof hagsand 2023-01-18 15:55:49 +01:00
parent 923b998774
commit 46137e1394
7 changed files with 36 additions and 28 deletions

View file

@ -227,7 +227,7 @@ main(int argc,
goto done;
}
if (commit){
if ((ret = candidate_commit(h, NULL, database, cb)) < 0)
if ((ret = candidate_commit(h, NULL, database, 0, cb)) < 0)
goto done;
}
else{