X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fadj%2Fadj.c;h=8740bb414657a46076171339c14b9edacd7ecf70;hb=609e121;hp=a06a12210bce10e83e59c32a50b66e27720d8065;hpb=14260393c096b270ef318d74b481911c7def0496;p=vpp.git diff --git a/src/vnet/adj/adj.c b/src/vnet/adj/adj.c index a06a12210bc..8740bb41465 100644 --- a/src/vnet/adj/adj.c +++ b/src/vnet/adj/adj.c @@ -50,7 +50,7 @@ adj_poison (ip_adjacency_t * adj) { if (CLIB_DEBUG > 0) { - memset (adj, 0xfe, sizeof (adj[0])); + clib_memset (adj, 0xfe, sizeof (adj[0])); } } @@ -80,7 +80,7 @@ adj_alloc (fib_protocol_t proto) adj->ia_delegates = NULL; /* lest it become a midchain in the future */ - memset(&adj->sub_type.midchain.next_dpo, 0, + clib_memset(&adj->sub_type.midchain.next_dpo, 0, sizeof(adj->sub_type.midchain.next_dpo)); return (adj);