summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat.h
diff options
context:
space:
mode:
authorshubing guo <guo.shubing@zte.com.cn>2018-08-13 17:16:46 +0800
committerOle Trøan <otroan@employees.org>2018-08-15 07:10:30 +0000
commit762a4938900abeedd42676ab2582fcceabdc07fa (patch)
tree58fd9b0bfed3fb02c13584def97f26c45f823f7b /src/plugins/nat/nat.h
parent38bc30802f10e550f03f8741e7427217208252a7 (diff)
VPP-1387:foreach outside address vector to find correct index when free outside address and port
Change-Id: Ie5452350a8ebe2c1b62085fcab50dbc0138d3ae2 Signed-off-by: shubing guo <guo.shubing@zte.com.cn>
Diffstat (limited to 'src/plugins/nat/nat.h')
-rw-r--r--src/plugins/nat/nat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/nat/nat.h b/src/plugins/nat/nat.h
index 0d51109175f..6ff6cd891ec 100644
--- a/src/plugins/nat/nat.h
+++ b/src/plugins/nat/nat.h
@@ -451,8 +451,7 @@ extern vlib_node_registration_t nat44_ed_out2in_worker_handoff_node;
void snat_free_outside_address_and_port (snat_address_t * addresses,
u32 thread_index,
- snat_session_key_t * k,
- u32 address_index);
+ snat_session_key_t * k);
int snat_alloc_outside_address_and_port (snat_address_t * addresses,
u32 fib_index,