diff options
author | Filip Varga <fivarga@cisco.com> | 2021-02-26 09:31:21 +0100 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-02-26 13:15:05 +0000 |
commit | e7a80a98bc1deba86a41cf66280101766e04a310 (patch) | |
tree | a23ae691e8e36bc62e623b417cbd2daac6f7f811 /src/plugins/nat/test/test_nat44_ed.py | |
parent | edb1716461113913b4dd08493f6445df3398e664 (diff) |
nat: NAT44ED fail if using old plugin option
Fail if obsolete flag is used.
Type: fix
Change-Id: Id7000de9c82fa2c22692104b2fc1d463e5961f39
Signed-off-by: Filip Varga <fivarga@cisco.com>
Diffstat (limited to 'src/plugins/nat/test/test_nat44_ed.py')
-rw-r--r-- | src/plugins/nat/test/test_nat44_ed.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/test/test_nat44_ed.py b/src/plugins/nat/test/test_nat44_ed.py index 3980f69c5bb..7e85c938ee8 100644 --- a/src/plugins/nat/test/test_nat44_ed.py +++ b/src/plugins/nat/test/test_nat44_ed.py @@ -47,11 +47,11 @@ class NAT44EDTestCase(VppTestCase): self.plugin_disable() def plugin_enable(self): - self.vapi.nat44_plugin_enable_disable( + self.vapi.nat44_ed_plugin_enable_disable( sessions=self.max_sessions, enable=1) def plugin_disable(self): - self.vapi.nat44_plugin_enable_disable(enable=0) + self.vapi.nat44_ed_plugin_enable_disable(enable=0) @property def config_flags(self): |