diff --git a/confluent_server/confluent/networking/macmap.py b/confluent_server/confluent/networking/macmap.py index ec4759c6..2522a030 100644 --- a/confluent_server/confluent/networking/macmap.py +++ b/confluent_server/confluent/networking/macmap.py @@ -342,7 +342,7 @@ def _full_updatemacmap(configmanager): _switchportmap[curswitch][portname] = None else: _switchportmap[curswitch][portname] = node - for switch in _macsbyswitch: + for switch in list(_macsbyswitch): if switch not in switches: del _macsbyswitch[switch] switchauth = get_switchcreds(configmanager, switches)