diff --git a/confluent_server/confluent/discovery/protocols/ssdp.py b/confluent_server/confluent/discovery/protocols/ssdp.py index 9559a229..00e6f799 100644 --- a/confluent_server/confluent/discovery/protocols/ssdp.py +++ b/confluent_server/confluent/discovery/protocols/ssdp.py @@ -441,7 +441,7 @@ def _find_service(service, target): continue else: for targurl in peerdata[nid]['urls']: - if '/eth' in targurl and targurl.endswith('.xml'): + if targurl and targurl.endswith('.xml'): pooltargs.append(('/redfish/v1/', peerdata[nid], 'megarac-bmc')) # For now, don't interrogate generic redfish bmcs # This is due to a need to deduplicate from some supported SLP