commit | 4cfb46d4f8a8bc1f562b59b66696bc233f83356f | [log] [tgz] |
---|---|---|
author | Damjan Marion <damarion@cisco.com> | Fri May 06 12:38:19 2022 +0200 |
committer | Damjan Marion <damarion@cisco.com> | Fri May 06 12:45:11 2022 +0200 |
tree | f4e2d0bb00b5d3eef9ec2245a7809c73728f8f45 | |
parent | 4ba3c0a8d82ff24492fbb858ab8fdef78bd3f4b9 [diff] |
stats: strings in string vector are c strings Type: fix Change-Id: I9cf9376f2813f7bceecc6a9d714dcb98df77615d Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/vlib/stats/stats.c b/src/vlib/stats/stats.c index ee65708..e3a1a8a 100644 --- a/src/vlib/stats/stats.c +++ b/src/vlib/stats/stats.c
@@ -341,6 +341,7 @@ va_start (va, fmt); s = va_format (s, fmt, &va); va_end (va); + vec_add1 (s, 0); e->string_vector[vector_index] = s;