From b8831ee1956dca8eec7060eed556f64f975dd790 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Sat, 25 Mar 2017 10:37:05 +0100 Subject: [PATCH] restconf format --- lib/src/clixon_xml_db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/clixon_xml_db.c b/lib/src/clixon_xml_db.c index 25a51577..e85d5f58 100644 --- a/lib/src/clixon_xml_db.c +++ b/lib/src/clixon_xml_db.c @@ -1431,7 +1431,7 @@ xmldb_put_tree_local(clicon_handle h, clicon_err(OE_XML, errno, "List %s without argument", name); goto done; } - cprintf(ckey, "/%s", val2); + cprintf(ckey, "=%s", val2); cbuf_reset(csubkey); cprintf(csubkey, "%s/%s", cbuf_get(ckey), keyname); if (op == OP_MERGE || op == OP_REPLACE || op == OP_CREATE)