replace obsolete cvec_find_var with cvec_find
This commit is contained in:
parent
ff5f93ac1e
commit
dacd2fe3a0
4 changed files with 17 additions and 17 deletions
|
|
@ -104,7 +104,7 @@ fib_route_rpc(clicon_handle h,
|
|||
/* Send to backend */
|
||||
if (clicon_rpc_netconf_xml(h, xrpc, &xret, NULL) < 0)
|
||||
goto done;
|
||||
if ((xerr = xpath_first(xret, "/rpc-error")) != NULL){
|
||||
if ((xerr = xpath_first(xret, "//rpc-error")) != NULL){
|
||||
clicon_rpc_generate_error("Get configuration", xerr);
|
||||
goto done;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue