Skip to content

Fix ServiceInfo with multiple A records#725

Merged
bdraco merged 2 commits into
python-zeroconf:masterfrom
bdraco:fix_multiple_a_records
Jun 18, 2021
Merged

Fix ServiceInfo with multiple A records#725
bdraco merged 2 commits into
python-zeroconf:masterfrom
bdraco:fix_multiple_a_records

Conversation

@bdraco
Copy link
Copy Markdown
Member

@bdraco bdraco commented Jun 18, 2021

  • If there were multiple A records for the host, ServiceInfo
    would always return the last one that was in the incoming
    packet which was usually not the one that was wanted.

bdraco added 2 commits June 18, 2021 11:05
- If there were multiple A records for the host, ServiceInfo
  would always return the last one that was in the incoming
  packet which was usually not the one that was wanted.
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jun 18, 2021

Codecov Report

Merging #725 (ebe0ab4) into master (e2d4d98) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #725      +/-   ##
==========================================
- Coverage   98.16%   98.15%   -0.01%     
==========================================
  Files          18       18              
  Lines        2174     2169       -5     
  Branches      378      377       -1     
==========================================
- Hits         2134     2129       -5     
  Misses         25       25              
  Partials       15       15              
Impacted Files Coverage Δ
zeroconf/_services/__init__.py 96.34% <100.00%> (-0.05%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e2d4d98...ebe0ab4. Read the comment docs.

@bdraco bdraco merged commit 3338594 into python-zeroconf:master Jun 18, 2021
@bdraco bdraco deleted the fix_multiple_a_records branch June 18, 2021 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants