Skip to content

Commit

Permalink
Fix for leading zero mismatch in fabric check
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Feb 9, 2024
1 parent 92c527c commit aebf003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matter_server/server/device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ def _on_mdns_service_state_change(
return
if service_type == MDNS_TYPE_OPERATIONAL_NODE:
name = name.lower()
if not name.startswith(self.fabric_id_hex):
if self.fabric_id_hex not in name:
# filter out messages that are not for our fabric
return
LOGGER.debug("Received %s MDNS event for %s", state_change, name)
Expand Down

0 comments on commit aebf003

Please sign in to comment.