diff options
author | Filip Varga <fivarga@cisco.com> | 2021-07-26 12:48:26 +0200 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-08-05 08:26:44 +0000 |
commit | 2621acc510a270ae6ae8d2e5f8107ecb0c883167 (patch) | |
tree | b639007218763fca0045b2cfe28b7c9ec1931b86 /src/plugins/nat/nat44-ed/nat44_ed_api.c | |
parent | 992d996ff5672ae647b21e27901d258aace79058 (diff) |
nat: nat44-ed disable protection for api/cli
Return unsupported error if user calls one
of the configuration functions that can
run only after nat44-ed plugin is
enabled via appropriate api/cli
call.
Type: fix
Change-Id: I0d4ab0684ba5ae23fc2ecc668554a34537c2904a
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/nat44-ed/nat44_ed_api.c')
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed_api.c b/src/plugins/nat/nat44-ed/nat44_ed_api.c index 74d48b2d821..36f96827d24 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_api.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_api.c @@ -1169,7 +1169,7 @@ vl_api_nat44_del_session_t_handler (vl_api_nat44_del_session_t *mp) is_in = mp->flags & NAT_API_IS_INSIDE; - rv = nat44_del_ed_session (sm, &addr, port, &eh_addr, eh_port, mp->protocol, + rv = nat44_ed_del_session (sm, &addr, port, &eh_addr, eh_port, mp->protocol, vrf_id, is_in); REPLY_MACRO (VL_API_NAT44_DEL_SESSION_REPLY); |