aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/nat44_cli.c
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2020-11-02 12:11:12 +0100
committerOle Tr�an <otroan@employees.org>2020-11-13 10:06:57 +0000
commitb227aa699faabd79d6f3e8c43c0a912086b0c95e (patch)
treefcd40c449b6d653d0519c298859493deae167c5c /src/plugins/nat/nat44_cli.c
parent80f0b88fc388c82627dafef19c01f4c4536bbfa2 (diff)
nat: api,cli and test update & cleanup
Cleanup of print functions in api file, splitting functionality of cleanup callbacks for ED and EI NAT. Updating and fixing API & CLI calls. Type: refactor Change-Id: I7a9dc4c8b1d2ca29db4754be7dfa4f698942127a Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44_cli.c')
-rw-r--r--src/plugins/nat/nat44_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44_cli.c b/src/plugins/nat/nat44_cli.c
index 9db7db6ef22..695e8cc142e 100644
--- a/src/plugins/nat/nat44_cli.c
+++ b/src/plugins/nat/nat44_cli.c
@@ -1696,11 +1696,11 @@ nat44_del_user_command_fn (vlib_main_t * vm,
}
}
- rv = nat44_user_del (&addr, fib_index);
+ rv = nat44_ei_user_del (&addr, fib_index);
if (!rv)
{
- error = clib_error_return (0, "nat44_user_del returned %d", rv);
+ error = clib_error_return (0, "nat44_ei_user_del returned %d", rv);
}
done: