CDATA Encode and decode (parsing) support
This commit is contained in:
parent
8b31d83806
commit
9eff879458
6 changed files with 61 additions and 16 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue