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

feat: introduce InterfaceChoice.AllWithLoopback #1358

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

bdraco
Copy link
Member

@bdraco bdraco commented Feb 7, 2024

A better fix would be to check the flags in ifaddr/ifaddr#59

InterfaceChoice.All now excludes loopback addresses by default since they do not work on most systems. To keep the original behavior pass InterfaceChoice.AllWithLoopback instead.

fixes #1357

@bdraco bdraco changed the title Introduce InterfaceChoice.AllWithLoopback feat: introduce InterfaceChoice.AllWithLoopback Feb 7, 2024
@bdraco bdraco force-pushed the interface_choice_exclude_loopback branch from 7032d0e to 72c649b Compare February 7, 2024 22:16
@bdraco bdraco force-pushed the interface_choice_exclude_loopback branch from d78aaa5 to 1070dc5 Compare February 7, 2024 22:21
Copy link

codecov bot commented Feb 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (517d7d0) 99.75% compared to head (3306d6f) 99.75%.
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1358   +/-   ##
=======================================
  Coverage   99.75%   99.75%           
=======================================
  Files          30       30           
  Lines        3238     3240    +2     
  Branches      536      542    +6     
=======================================
+ Hits         3230     3232    +2     
  Misses          5        5           
  Partials        3        3           

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

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.

Using IPVersion.All leads to OSError: [Errno 101] Network is unreachable logged
1 participant