Skip to content

Commit 58eb3c8

Browse files
authored
[client] Increase ip rule priorities to avoid conflicts (#4273)
1 parent b5ed948 commit 58eb3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/internal/routemanager/systemops/systemops_linux.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ type ruleParams struct {
7777

7878
func getSetupRules() []ruleParams {
7979
return []ruleParams{
80-
{100, 0, syscall.RT_TABLE_MAIN, netlink.FAMILY_V4, false, 0, "rule with suppress prefixlen v4"},
81-
{100, 0, syscall.RT_TABLE_MAIN, netlink.FAMILY_V6, false, 0, "rule with suppress prefixlen v6"},
80+
{105, 0, syscall.RT_TABLE_MAIN, netlink.FAMILY_V4, false, 0, "rule with suppress prefixlen v4"},
81+
{105, 0, syscall.RT_TABLE_MAIN, netlink.FAMILY_V6, false, 0, "rule with suppress prefixlen v6"},
8282
{110, nbnet.ControlPlaneMark, NetbirdVPNTableID, netlink.FAMILY_V4, true, -1, "rule v4 netbird"},
8383
{110, nbnet.ControlPlaneMark, NetbirdVPNTableID, netlink.FAMILY_V6, true, -1, "rule v6 netbird"},
8484
}

0 commit comments

Comments
 (0)