diff options
author | erkin <e.altunbas@vyos.io> | 2021-12-16 17:31:57 +0300 |
---|---|---|
committer | erkin <e.altunbas@vyos.io> | 2021-12-16 17:31:57 +0300 |
commit | 95b91627a6065b720365c9ae7d124d85fc8e493d (patch) | |
tree | 1d743211400347d3847623fb0e17dd39dbfb604c /src/conf_mode/containers.py | |
parent | dc8c230ad45a10be93fc2cd79c38ebb39fd0a148 (diff) | |
parent | 5a871f0dac024c7c0c59f1a1709543c4cc5e4f96 (diff) | |
download | vyos-1x-95b91627a6065b720365c9ae7d124d85fc8e493d.tar.gz vyos-1x-95b91627a6065b720365c9ae7d124d85fc8e493d.zip |
Merge branch 'current' of https://github.com/erkin/vyos-1x into current
Diffstat (limited to 'src/conf_mode/containers.py')
-rwxr-xr-x | src/conf_mode/containers.py | 2 |
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 |