We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf3b738 commit 81b2387Copy full SHA for 81b2387
1 file changed
zeroconf/_handlers.py
@@ -404,7 +404,7 @@ def _async_update_matching_records(
404
records = []
405
for question in questions:
406
for record in self.cache.async_entries_with_name(question.name):
407
- if record.is_expired(now) and question.answered_by(record):
+ if not record.is_expired(now) and question.answered_by(record):
408
records.append(record)
409
if not records:
410
return
0 commit comments