diff options
author | Filip Varga <fivarga@cisco.com> | 2019-01-22 00:43:44 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-01-22 10:58:00 +0000 |
commit | eb978969ad48669e60b7d96904fcf0108f54cb79 (patch) | |
tree | b670d37332479e9626b0de2c07189dbc0ba38b09 /src/plugins/nat/nat_api.c | |
parent | 1ec06fffca58f9af0205e26fffb4b86383d01dc9 (diff) |
NAT: ipfix call optimization
Change-Id: I84dfdbb727fb765fcaa7fb0099cbdd7ef7dbcc10
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat_api.c')
-rw-r--r-- | src/plugins/nat/nat_api.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/nat/nat_api.c b/src/plugins/nat/nat_api.c index 55e6bf9e90f..49b5f36946b 100644 --- a/src/plugins/nat/nat_api.c +++ b/src/plugins/nat/nat_api.c @@ -2324,8 +2324,7 @@ static void for (i = 0; i < count; i++) { - if ((rv = nat64_add_del_pool_addr (vlib_get_thread_index (), - &this_addr, vrf_id, mp->is_add))) + if ((rv = nat64_add_del_pool_addr (0, &this_addr, vrf_id, mp->is_add))) goto send_reply; increment_v4_address (&this_addr); |