summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-26 07:39:27 +0100
committerGitHub <noreply@github.com>2021-11-26 07:39:27 +0100
commitfed88cda4722024fdfcb5c2951f074fa6caf4d7c (patch)
tree6495486ffe9d02d20777ee98b37198a52e80ffa7 /src/conf_mode
parent600ebc9cab1b95463d0a2453524fcf19fbbdfa07 (diff)
parent26af96f2d4c9212467a9ca98c0eddc50042ccbb3 (diff)
downloadvyos-1x-fed88cda4722024fdfcb5c2951f074fa6caf4d7c.tar.gz
vyos-1x-fed88cda4722024fdfcb5c2951f074fa6caf4d7c.zip
Merge pull request #1086 from sever-sever/T3978
containers: T3978: Fix correct variable name for network
Diffstat (limited to 'src/conf_mode')
-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