diff options
Diffstat (limited to 'src/vcl/vcl_cfg.c')
-rw-r--r-- | src/vcl/vcl_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_cfg.c b/src/vcl/vcl_cfg.c index 4e0b583e2ec..ac768c4d6e3 100644 --- a/src/vcl/vcl_cfg.c +++ b/src/vcl/vcl_cfg.c @@ -431,7 +431,7 @@ vppcom_cfg_read_file (char *conf_fname) u32 nsid_vec_len = vec_len (vcl_cfg->namespace_id); if (nsid_vec_len > max_nsid_vec_len) { - _vec_len (vcl_cfg->namespace_id) = max_nsid_vec_len; + vec_set_len (vcl_cfg->namespace_id, max_nsid_vec_len); VCFG_DBG (0, "VCL<%d>: configured namespace_id is too long," " truncated to %d characters!", getpid (), max_nsid_vec_len); |