summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index 156a5f7ea4..e4d72ea2d7 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -2281,7 +2281,7 @@ def configure_vxlan(tgen, input_dict):
cmd = "{} local {}".format(cmd, local_addr)
if learning == "no":
- cmd = "{} {} learning".format(cmd, learning)
+ cmd = "{} nolearning".format(cmd)
elif learning == "yes":
cmd = "{} learning".format(cmd)