X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fnat%2Fdslite_out2in.c;h=798367db6b1417f5bd8585bb9676c418d3574c63;hb=067cd6229a47ea3ba8b59a2a04090e80afb5bd2c;hp=802b2a91544db0d182452ba8cd439e1b9faace1d;hpb=8ebe62536223e5a8d827b2b870cbd57aa34fd7ef;p=vpp.git diff --git a/src/plugins/nat/dslite_out2in.c b/src/plugins/nat/dslite_out2in.c index 802b2a91544..798367db6b1 100644 --- a/src/plugins/nat/dslite_out2in.c +++ b/src/plugins/nat/dslite_out2in.c @@ -13,6 +13,7 @@ * limitations under the License. */ #include +#include vlib_node_registration_t dslite_out2in_node; @@ -100,7 +101,7 @@ dslite_out2in_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node, u32 n_left_from, *from, *to_next; dslite_out2in_next_t next_index; vlib_node_runtime_t *error_node; - u32 thread_index = vlib_get_thread_index (); + u32 thread_index = vm->thread_index; f64 now = vlib_time_now (vm); dslite_main_t *dm = &dslite_main;