diff --git a/confluent_server/confluent/networking/macmap.py b/confluent_server/confluent/networking/macmap.py index 441b2d38..a0b385b6 100644 --- a/confluent_server/confluent/networking/macmap.py +++ b/confluent_server/confluent/networking/macmap.py @@ -416,8 +416,7 @@ def handle_read_api_request(pathcomponents): elif pathcomponents[2] == 'by-switch': if len(pathcomponents) == 3: return [msg.ChildCollection(x + '/') - for x in sorted(list(_macsbyswitch))] - + for x in sorted(list(_switchportmap))] if len(pathcomponents) == 4: return [msg.ChildCollection('by-port/')] if len(pathcomponents) == 5: