nat: nat44-ed disable protection for api/cli 49/33249/5
authorFilip Varga <fivarga@cisco.com>
Mon, 26 Jul 2021 10:48:26 +0000 (12:48 +0200)
committerOle Tr�an <otroan@employees.org>
Thu, 5 Aug 2021 08:26:44 +0000 (08:26 +0000)
commit2621acc510a270ae6ae8d2e5f8107ecb0c883167
treeb639007218763fca0045b2cfe28b7c9ec1931b86
parent992d996ff5672ae647b21e27901d258aace79058
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>
src/plugins/nat/nat44-ed/nat44_ed.c
src/plugins/nat/nat44-ed/nat44_ed.h
src/plugins/nat/nat44-ed/nat44_ed_api.c
src/plugins/nat/nat44-ed/nat44_ed_cli.c