Probably not seen (yet) in practice due to the message ring allocation
scheme.
Change-Id: I7f01b5c09e0a172ad43ec3b8416e2791cada6122
Signed-off-by: Dave Barach <[email protected]>
count = vec_len(table_ids);
vl_api_classify_table_ids_reply_t *rmp;
- rmp = vl_msg_api_alloc_as_if_client(sizeof (*rmp) + count);
+ rmp = vl_msg_api_alloc_as_if_client(sizeof (*rmp) + count * sizeof(u32));
rmp->_vl_msg_id = ntohs (VL_API_CLASSIFY_TABLE_IDS_REPLY);
rmp->context = mp->context;
rmp->count = ntohl(count);