summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat64_cli.c
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2019-01-22 00:43:44 -0800
committerDamjan Marion <dmarion@me.com>2019-01-22 10:58:00 +0000
commiteb978969ad48669e60b7d96904fcf0108f54cb79 (patch)
treeb670d37332479e9626b0de2c07189dbc0ba38b09 /src/plugins/nat/nat64_cli.c
parent1ec06fffca58f9af0205e26fffb4b86383d01dc9 (diff)
NAT: ipfix call optimization
Change-Id: I84dfdbb727fb765fcaa7fb0099cbdd7ef7dbcc10 Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat64_cli.c')
-rw-r--r--src/plugins/nat/nat64_cli.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/nat/nat64_cli.c b/src/plugins/nat/nat64_cli.c
index 3f785c2a621..4efdf133042 100644
--- a/src/plugins/nat/nat64_cli.c
+++ b/src/plugins/nat/nat64_cli.c
@@ -73,8 +73,7 @@ nat64_add_del_pool_addr_command_fn (vlib_main_t * vm,
for (i = 0; i < count; i++)
{
- rv = nat64_add_del_pool_addr (vm->thread_index,
- &this_addr, vrf_id, is_add);
+ rv = nat64_add_del_pool_addr (0, &this_addr, vrf_id, is_add);
switch (rv)
{