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

fix linux ipv6 handling #475

Merged
merged 2 commits into from
Aug 3, 2023
Merged

fix linux ipv6 handling #475

merged 2 commits into from
Aug 3, 2023

Conversation

conectado
Copy link
Contributor

Hi!

In Linux, the last 8 octets from Ipv6 were being discarded when gathering local interfaces, making Ipv6 bindings fail.

This PR further simplifies Ip parsing.

(Relates to #473 )

Copy link
Member

@rainliu rainliu left a comment

Choose a reason for hiding this comment

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

Thanks for fix

Copy link
Member

@rainliu rainliu left a comment

Choose a reason for hiding this comment

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

Please fix clippy/ fmt error

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch coverage: 40.00% and project coverage change: -0.10% ⚠️

Comparison is base (2c189d6) 61.67% compared to head (26c34d9) 61.57%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #475      +/-   ##
==========================================
- Coverage   61.67%   61.57%   -0.10%     
==========================================
  Files         541      541              
  Lines       49927    49886      -41     
  Branches    12397    12401       +4     
==========================================
- Hits        30790    30716      -74     
- Misses       9926     9931       +5     
- Partials     9211     9239      +28     
Files Changed Coverage Δ
util/src/vnet/interface.rs 84.21% <0.00%> (-0.41%) ⬇️
util/src/ifaces/ffi/unix/mod.rs 80.95% <100.00%> (-3.47%) ⬇️

... and 30 files with indirect coverage changes

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

@conectado conectado requested a review from rainliu August 3, 2023 02:43
@conectado
Copy link
Contributor Author

fixed!

@rainliu rainliu merged commit 1fe4562 into webrtc-rs:master Aug 3, 2023
5 checks passed
@jamilbk jamilbk mentioned this pull request Aug 3, 2023
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