Fixed: [Templates with nc:operation merge causes bad diffs to be shows](https://github.com/clicon/clixon-controller/issues/187)

This commit is contained in:
Olof hagsand 2025-02-27 12:04:06 +01:00
parent b0cc1857c0
commit ed226a990c
5 changed files with 117 additions and 22 deletions

View file

@ -655,7 +655,8 @@ from_client_edit_config(clixon_handle h,
goto done;
goto ok;
}
/* Must do before duplicate check */
/* Must do before duplicate check,
* should probably be done before minmax check above */
if (xml_sort_recurse(xc) < 0)
goto done;
/* Disable duplicate check in NETCONF messages. */