X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fsession%2Fsession_table.c;h=3722e0f63be493486d66a98faec0d5fd9810f607;hb=92e93844826fc080ea7f3495ba3e06de3f4d03f1;hp=47d19092e2b3d98caf2401258ffbff308e5dddf4;hpb=7ce3d13cab773226b851f627a69a4148a762592a;p=vpp.git diff --git a/src/vnet/session/session_table.c b/src/vnet/session/session_table.c index 47d19092e2b..3722e0f63be 100644 --- a/src/vnet/session/session_table.c +++ b/src/vnet/session/session_table.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017 Cisco and/or its affiliates. + * Copyright (c) 2017-2019 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: @@ -32,7 +32,7 @@ session_table_alloc (void) { session_table_t *slt; pool_get_aligned (lookup_tables, slt, CLIB_CACHE_LINE_BYTES); - memset (slt, 0, sizeof (*slt)); + clib_memset (slt, 0, sizeof (*slt)); return slt; } @@ -78,9 +78,9 @@ session_table_init (session_table_t * slt, u8 fib_proto) #undef _ #define _(af,table,parm,value) \ - if (session_manager_main.configured_##af##_##table##_table_##parm) \ + if (session_main.configured_##af##_##table##_table_##parm) \ configured_##af##_##table##_table_##parm = \ - session_manager_main.configured_##af##_##table##_table_##parm; + session_main.configured_##af##_##table##_table_##parm; foreach_hash_table_parameter; #undef _