Fixed [xml bind yang error in xml_bind_yang_rpc_reply #175](https://github.com/clicon/clixon/issues/175)
This commit is contained in:
parent
a129756c6c
commit
dee4e87edf
5 changed files with 56 additions and 12 deletions
|
|
@ -216,6 +216,9 @@ module clixon-example {
|
|||
leaf uk{
|
||||
type string;
|
||||
}
|
||||
leaf val{
|
||||
type string;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@ example_rpc(clicon_handle h, /* Clicon handle */
|
|||
cprintf(cbret, "<rpc-reply xmlns=\"%s\"", NETCONF_BASE_NAMESPACE);
|
||||
if ((xp = xml_parent(xe)) != NULL &&
|
||||
(msgid = xml_find_value(xp, "message-id"))){
|
||||
cprintf(cbret, " message-id=\"%s\">", msgid);
|
||||
cprintf(cbret, " message-id=\"%s\"", msgid);
|
||||
}
|
||||
cprintf(cbret, ">");
|
||||
if (!xml_child_nr_type(xe, CX_ELMNT))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue