Skip to content

Commit 41d9776

Browse files
authored
Fix for leading zero mismatch in fabric check (#544)
1 parent 92c527c commit 41d9776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matter_server/server/device_controller.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ def _on_mdns_service_state_change(
11681168
return
11691169
if service_type == MDNS_TYPE_OPERATIONAL_NODE:
11701170
name = name.lower()
1171-
if not name.startswith(self.fabric_id_hex):
1171+
if self.fabric_id_hex not in name:
11721172
# filter out messages that are not for our fabric
11731173
return
11741174
LOGGER.debug("Received %s MDNS event for %s", state_change, name)

0 commit comments

Comments
 (0)