CDATA Encode and decode (parsing) support

This commit is contained in:
Olof hagsand 2018-06-13 22:55:46 +02:00
parent 8b31d83806
commit 9eff879458
6 changed files with 61 additions and 16 deletions

View file

@ -243,6 +243,8 @@ yang2cli_var_sub(clicon_handle h,
if ((id=strchr(name, ':')) != NULL)
*id = '\0';
cprintf(cb, "%s:%s", name, id+1);
if (name)
free(name);
}
}
}