Merge branch 'develop'

This commit is contained in:
Olof hagsand 2019-03-06 09:44:43 +01:00
commit 8cfd72c2c5
50 changed files with 167 additions and 211 deletions

View file

@ -503,7 +503,7 @@ from_client_edit_config(clicon_handle h,
goto ok;
}
else{
/* <config> yang spec may be set to anyxmly by ingress yang check,...*/
/* <config> yang spec may be set to anyxml by ingress yang check,...*/
if (xml_spec(xc) != NULL)
xml_spec_set(xc, NULL);
/* Populate XML with Yang spec (why not do this in parser?)

View file

@ -580,10 +580,6 @@ netconf_application_rpc(clicon_handle h,
goto ok;
}
yrpc = yang_find((yang_node*)ymod, Y_RPC, xml_name(xn));
if ((yrpc==NULL) && !_CLICON_XML_NS_STRICT){
if (xml_yang_find_non_strict(xn, yspec, &yrpc) < 0) /* Y_RPC */
goto done;
}
/* Check if found */
if (yrpc != NULL){
/* 1. Check xn arguments with input statement. */