diff options
Diffstat (limited to 'src/vnet/span/span_api.c')
-rw-r--r-- | src/vnet/span/span_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/span/span_api.c b/src/vnet/span/span_api.c index f05a1c5093e..9566941ab9e 100644 --- a/src/vnet/span/span_api.c +++ b/src/vnet/span/span_api.c @@ -89,7 +89,7 @@ vl_api_sw_interface_span_dump_t_handler (vl_api_sw_interface_span_dump_t * mp) clib_bitmap_foreach (i, b, ( { rmp = vl_msg_api_alloc (sizeof (*rmp)); - memset (rmp, 0, sizeof (*rmp)); + clib_memset (rmp, 0, sizeof (*rmp)); rmp->_vl_msg_id = ntohs (VL_API_SW_INTERFACE_SPAN_DETAILS); rmp->context = mp->context; |