BPF: strip scope id when getting routes from {Open,Net,Free}BSD#5044
Open
gpotter2 wants to merge 1 commit into
Open
BPF: strip scope id when getting routes from {Open,Net,Free}BSD#5044gpotter2 wants to merge 1 commit into
gpotter2 wants to merge 1 commit into
Conversation
gpotter2
commented
Jul 16, 2026
Member
- fixes Scope ids get embedded into IPv6 link-local addresses on OpenBSD, NetBSD and macOS #5033 -> we strip the scope id when getting the routes on OpenBSD/NetBSD/FreeBSD/darwin
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5044 +/- ##
==========================================
+ Coverage 80.13% 80.22% +0.08%
==========================================
Files 388 388
Lines 96467 96473 +6
==========================================
+ Hits 77308 77391 +83
+ Misses 19159 19082 -77
🚀 New features to boost your workflow:
|
Contributor
|
I printed NetBSD: https://github.com/evverx/avahi/actions/runs/29538591476/job/87755650477?pr=3 OpenBSD: https://github.com/evverx/avahi/actions/runs/29538591476/job/87755650434?pr=3 I also pulled it on a Mac and the scope ids aren't embedded there either. Packets it sends no longer include scope ids in the sense that the source is |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.