From ef694deb9a620ab4f81e08ac2bf6228404aaac36 Mon Sep 17 00:00:00 2001 From: Kroy Date: Thu, 12 Aug 2021 18:02:00 -0500 Subject: T3749: Moving some counters into the proper loop --- src/conf_mode/containers.py | 4 ++-- 1 file 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!') -- cgit v1.2.3