diff options
author | Dave Wallace <dwallacelf@gmail.com> | 2017-10-26 03:29:30 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-10-26 15:01:50 +0000 |
commit | 8af2054b7899f7f457101b4ceffb90c5beac0bb0 (patch) | |
tree | 30a0692dcdd9faf1a1f6f77c1a6403b2163de910 /src/vnet/session/session_api.c | |
parent | ca514fda1125573d513215cb6ea7f22057a82d6b (diff) |
VCL: add session namespace support.
Change-Id: I04f1b63e66260d99c0dd180b0295a55a9b750df7
Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-x | src/vnet/session/session_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 812d727f74b..e8fa8aa4804 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -322,7 +322,7 @@ vl_api_application_attach_t_handler (vl_api_application_attach_t * mp) if (mp->namespace_id_len) { - vec_validate (a->namespace_id, mp->namespace_id_len); + vec_validate (a->namespace_id, mp->namespace_id_len - 1); clib_memcpy (a->namespace_id, mp->namespace_id, mp->namespace_id_len); } |