getting legacy grideye application to work on clixon

This commit is contained in:
Olof hagsand 2016-03-20 22:25:42 +01:00
parent 6169ea6bed
commit c1c1670a74
22 changed files with 952 additions and 805 deletions

View file

@ -114,7 +114,7 @@ netconf_filter_xmldb(clicon_handle h,
switch (foption){
case FILTER_SUBTREE:
/* Get the whole database as xml */
if (xmldb_get(h, source, NULL, 0, &xdb, NULL, NULL) < 0){
if (xmldb_get(h, source, "/", 0, &xdb, NULL, NULL) < 0){
netconf_create_rpc_error(cb_err, xorig,
"operation-failed",
"application",