Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions zeroconf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import enum
import errno
import ipaddress
import itertools
import logging
import platform
import re
Expand Down Expand Up @@ -2935,9 +2936,7 @@ def handle_response(self, msg: DNSIncoming) -> None: # pylint: disable=too-many
# zc.get_service_info will see the cached value
# but ONLY after all the record updates have been
# processsed.
for record in address_adds:
self.cache.add(record)
for record in other_adds:
for record in itertools.chain(address_adds, other_adds):
self.cache.add(record)
# Removes are processed last since
# ServiceInfo could generate an un-needed query
Expand Down