u32 policer_index;
name = format (0, "%s", mp->name);
+ vec_terminate_c_string (name);
memset (&cfg, 0, sizeof (cfg));
cfg.rfc = mp->type;
send_policer_details (u8 * name,
sse2_qos_pol_cfg_params_st * config,
policer_read_response_type_st * templ,
- unix_shared_memory_queue_t * q, u32 context)
+ svm_queue_t * q, u32 context)
{
vl_api_policer_details_t *mp;
static void
vl_api_policer_dump_t_handler (vl_api_policer_dump_t * mp)
{
- unix_shared_memory_queue_t *q;
+ svm_queue_t *q;
vnet_policer_main_t *pm = &vnet_policer_main;
hash_pair_t *hp;
uword *p;
if (mp->match_name_valid)
{
match_name = format (0, "%s%c", mp->match_name, 0);
+ vec_terminate_c_string (match_name);
}
if (mp->match_name_valid)