Fixed customized errors: fcgi and snmp

This commit is contained in:
Olof hagsand 2023-10-26 15:32:25 +02:00
parent 5bdad1870e
commit 978586a493
3 changed files with 5 additions and 3 deletions

View file

@ -151,7 +151,7 @@ restconf_main_config(clicon_handle h,
if ((ret = clixon_xml_parse_string(inline_config, YB_MODULE, yspec, &xrestconf, &xerr)) < 0)
goto done;
if (ret == 0){
clixon_netconf_error(xerr, "Inline restconf config", NULL);
clixon_netconf_error(h, xerr, "Inline restconf config", NULL);
goto done;
}
/* Replace parent w first child */