* Removed xml-stats non-config data (replaced by rpc `stats` in clixon-lib.yang)
  * Added option `CLICON_YANG_UNKNOWN_ANYDATA` to treat unknown XML (wrt YANG) as anydata.
This commit is contained in:
Olof hagsand 2020-05-11 14:38:38 +02:00
parent bf04131e54
commit a3b6ea9e10
9 changed files with 115 additions and 88 deletions

View file

@ -88,9 +88,9 @@ static int _yang_unknown_anydata = 0;
* The problem with this is that its global and shuld be bound to a handle
*/
int
xml_bind_yang_unknown_anydata(int bool)
xml_bind_yang_unknown_anydata(int val)
{
_yang_unknown_anydata = bool;
_yang_unknown_anydata = val;
return 0;
}