Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve IPv6 support #180

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Improve IPv6 support #180

merged 1 commit into from
Mar 26, 2024

Conversation

edaniels
Copy link
Member

This also adds Server.QueryAddr for netip.Addr support

@edaniels edaniels requested a review from Sean-Der March 25, 2024 19:56
conn.go Show resolved Hide resolved
return
}

resultAddr := *addr
// DNS records don't contain IPv6 zones.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling this out as being important to getting the properly attributed zone back

Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Attention: Patch coverage is 60.08772% with 91 lines in your changes are missing coverage. Please review.

Project coverage is 64.92%. Comparing base (b515cab) to head (d6e7392).

Files Patch % Lines
conn.go 60.08% 76 Missing and 15 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
- Coverage   67.30%   64.92%   -2.38%     
==========================================
  Files           1        1              
  Lines         734      824      +90     
==========================================
+ Hits          494      535      +41     
- Misses        171      210      +39     
- Partials       69       79      +10     
Flag Coverage Δ
go 64.92% <60.08%> (-2.38%) ⬇️
wasm ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This adds Server.QueryAddr for netip.Addr support
@Sean-Der Sean-Der merged commit 78fee6f into pion:master Mar 26, 2024
11 of 13 checks passed
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