summaryrefslogtreecommitdiffstats
path: root/src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c')
-rw-r--r--src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c b/src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c
index 9ea5447eba8..f409aa6f2d0 100644
--- a/src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c
+++ b/src/plugins/nsh/nsh-md2-ioam/md2_ioam_transit.c
@@ -128,7 +128,7 @@ nsh_md2_ioam_encap_transit (vlib_main_t * vm,
uword *t = NULL;
nsh_md2_ioam_main_t *hm = &nsh_md2_ioam_main;
fib_prefix_t key4;
- memset (&key4, 0, sizeof (key4));
+ clib_memset (&key4, 0, sizeof (key4));
key4.fp_proto = FIB_PROTOCOL_IP4;
key4.fp_addr.ip4.as_u32 = ip0->dst_address.as_u32;
t = hash_get_mem (hm->dst_by_ip4, &key4);