summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-11-25 19:58:06 +0000
committerViacheslav <v.gletenko@vyos.io>2021-11-25 19:58:06 +0000
commit26af96f2d4c9212467a9ca98c0eddc50042ccbb3 (patch)
tree6495486ffe9d02d20777ee98b37198a52e80ffa7
parent600ebc9cab1b95463d0a2453524fcf19fbbdfa07 (diff)
downloadvyos-1x-26af96f2d4c9212467a9ca98c0eddc50042ccbb3.tar.gz
vyos-1x-26af96f2d4c9212467a9ca98c0eddc50042ccbb3.zip
containers: T3978: Fix correct variable name for network
-rwxr-xr-xsrc/conf_mode/containers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py
index ab992e415..2e14e0b25 100755
--- a/src/conf_mode/containers.py
+++ b/src/conf_mode/containers.py
@@ -158,7 +158,7 @@ def verify(container):
v6_prefix = 0
# If ipv4-prefix not defined for user-defined network
if 'prefix' not in network_config:
- raise ConfigError(f'prefix for network "{net}" must be defined!')
+ raise ConfigError(f'prefix for network "{network}" must be defined!')
for prefix in network_config['prefix']:
if is_ipv4(prefix): v4_prefix += 1