summaryrefslogtreecommitdiffstats
path: root/src/vnet/snap/snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/snap/snap.c')
-rw-r--r--src/vnet/snap/snap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/snap/snap.c b/src/vnet/snap/snap.c
index 8609c656572..9bee415390a 100644
--- a/src/vnet/snap/snap.c
+++ b/src/vnet/snap/snap.c
@@ -180,7 +180,7 @@ snap_init (vlib_main_t * vm)
{
snap_main_t *sm = &snap_main;
- memset (sm, 0, sizeof (sm[0]));
+ clib_memset (sm, 0, sizeof (sm[0]));
sm->vlib_main = vm;
mhash_init (&sm->protocol_hash, sizeof (uword),