Fix same -V version string

Restconf exit segv
This commit is contained in:
Olof hagsand 2024-02-17 22:04:21 +01:00
parent 6ff1588397
commit 3b0b734de1
11 changed files with 11 additions and 10 deletions

View file

@ -1588,7 +1588,6 @@ xml_rm_children(cxobj *xp,
return retval;
}
/*! Remove top XML object and all children except a single child
*
* Given a root xml node, and the i:th child, remove the child from its parent

View file

@ -408,6 +408,8 @@ xml_diff1(cxobj *x0,
for (;;){
if (x0c == NULL && x1c == NULL)
goto ok;
y0c = NULL;
y1c = NULL;
/* If cl:ignore-compare extension, return equal */
if (x0c && (y0c = xml_spec(x0c)) != NULL){
if (yang_extension_value(y0c, "ignore-compare", CLIXON_LIB_NS, &extflag, NULL) < 0)