* Added nsc parameter to xml2xpath() and ensured the xpath uses prefixes.
* Old code: add `NULL` as second parameter
This commit is contained in:
parent
82a0670031
commit
614c927343
6 changed files with 157 additions and 13 deletions
|
|
@ -1375,7 +1375,7 @@ netconf_minmax_elements_xml(cxobj **xret,
|
|||
goto done;
|
||||
}
|
||||
if (xml_parent(xp)){ /* Dont include root, eg <config> */
|
||||
if (xml2xpath(xp, &path) < 0)
|
||||
if (xml2xpath(xp, NULL, &path) < 0)
|
||||
goto done;
|
||||
if (path)
|
||||
cprintf(cb, "%s", path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue