diff options
author | Matus Fabian <matfabia@cisco.com> | 2018-01-25 21:59:16 -0800 |
---|---|---|
committer | Matus Fabian <matfabia@cisco.com> | 2018-01-25 22:00:31 -0800 |
commit | 5f22499e8836066a268dcb3f4d16cfcd0244b2a2 (patch) | |
tree | e971d52c6c339e6b1df930adad9fa3ff3ff037e7 /src/plugins/nat/nat44_cli.c | |
parent | 1f9600e50f3317e8a9abd5ac38734010ca08e246 (diff) |
NAT44: add opaque string tag to static mapping APIs (VPP-1147)
Change-Id: I620e2081285ca8ac5c2da8efc12fe6f540ea4fd1
Signed-off-by: Matus Fabian <matfabia@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44_cli.c')
-rw-r--r-- | src/plugins/nat/nat44_cli.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/nat/nat44_cli.c b/src/plugins/nat/nat44_cli.c index 0aac1c0b6ce..5114615eb57 100644 --- a/src/plugins/nat/nat44_cli.c +++ b/src/plugins/nat/nat44_cli.c @@ -543,7 +543,7 @@ add_static_mapping_command_fn (vlib_main_t * vm, rv = snat_add_static_mapping (l_addr, e_addr, (u16) l_port, (u16) e_port, vrf_id, addr_only, sw_if_index, proto, is_add, - twice_nat, out2in_only); + twice_nat, out2in_only, 0); switch (rv) { @@ -618,7 +618,7 @@ add_identity_mapping_command_fn (vlib_main_t * vm, rv = snat_add_static_mapping (addr, addr, (u16) port, (u16) port, vrf_id, addr_only, sw_if_index, proto, is_add, - 0, 0); + 0, 0, 0); switch (rv) { @@ -715,7 +715,7 @@ add_lb_static_mapping_command_fn (vlib_main_t * vm, rv = nat44_add_del_lb_static_mapping (e_addr, (u16) e_port, proto, vrf_id, locals, is_add, twice_nat, - out2in_only); + out2in_only, 0); switch (rv) { |