diff --git a/confluent_server/confluent/networking/macmap.py b/confluent_server/confluent/networking/macmap.py index 4b9508ef..53cea4e1 100644 --- a/confluent_server/confluent/networking/macmap.py +++ b/confluent_server/confluent/networking/macmap.py @@ -120,7 +120,11 @@ def _map_switch_backend(args): # fallback if ifName is empty # global _macmap - switch, password, user = args + if len(args) == 3: + switch, password, user = args + else: + switch, password = args + user = None haveqbridge = False mactobridge = {} conn = snmp.Session(switch, password, user)