diff options
author | Kroy <kroy@kroy.io> | 2021-08-12 18:02:00 -0500 |
---|---|---|
committer | Kroy <kroy@kroy.io> | 2021-08-12 18:02:00 -0500 |
commit | ef694deb9a620ab4f81e08ac2bf6228404aaac36 (patch) | |
tree | f9fa9fb950376a5cf5f40c7ea12cd4274918ce9c /src/conf_mode/containers.py | |
parent | 7e52a7079afb522d1456833023ad58fa8b05e880 (diff) | |
download | vyos-1x-ef694deb9a620ab4f81e08ac2bf6228404aaac36.tar.gz vyos-1x-ef694deb9a620ab4f81e08ac2bf6228404aaac36.zip |
T3749: Moving some counters into the proper loop
Diffstat (limited to 'src/conf_mode/containers.py')
-rwxr-xr-x | src/conf_mode/containers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/containers.py b/src/conf_mode/containers.py index 21b47f42a..7544bd840 100755 --- a/src/conf_mode/containers.py +++ b/src/conf_mode/containers.py @@ -142,9 +142,9 @@ def verify(container): # Add new network if 'network' in container: - v4_prefix = 0 - v6_prefix = 0 for network, network_config in container['network'].items(): + v4_prefix = 0 + 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!') |