cli show options. doc and testing

This commit is contained in:
Olof hagsand 2020-10-01 11:07:57 +02:00
parent 6f2c4a076d
commit 09d33acd45
8 changed files with 64 additions and 6 deletions

View file

@ -293,8 +293,8 @@ static int
msg_dump(struct clicon_msg *msg)
{
int i;
char buf[9*8];
char buf2[9*8];
char buf[9*8+1];
char buf2[9*8+1];
memset(buf2, 0, sizeof(buf2));
snprintf(buf2, sizeof(buf2), "%s:", __FUNCTION__);