feat: add InterfaceMetric and RouteMetric fields#63
Open
FIL033 wants to merge 1 commit into
Open
Conversation
nekohasekai
force-pushed
the
dev
branch
5 times, most recently
from
March 11, 2026 13:25
93c7ad8 to
caaf846
Compare
nekohasekai
force-pushed
the
dev
branch
2 times, most recently
from
March 23, 2026 12:00
bb97909 to
8eb4e8a
Compare
nekohasekai
force-pushed
the
dev
branch
3 times, most recently
from
May 19, 2026 12:58
3900f5c to
eb58efc
Compare
nekohasekai
force-pushed
the
dev
branch
2 times, most recently
from
June 3, 2026 04:58
1d57468 to
6e76db7
Compare
nekohasekai
force-pushed
the
dev
branch
2 times, most recently
from
June 23, 2026 09:41
d8bba36 to
54c9dbd
Compare
nekohasekai
force-pushed
the
dev
branch
3 times, most recently
from
July 9, 2026 14:19
103bb1c to
8a2ff73
Compare
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.
Resolves #62
This PR adds configurable interface and route metrics to allow users to control routing priorities across different devices with the same configuration file.
Changes:
InterfaceMetricfield for TUN interface priority (Windows only)RouteMetricfield for route priority (Windows and Linux)Backward Compatibility:
Both fields default to 0 (use existing behavior), maintaining full backward compatibility.