[client] Keep NetBird traffic out of third-party fwmark rules (#7314)

This commit is contained in:
Viktor Liu
2026-08-26 20:03:40 +02:00
committed by GitHub
parent f221347c7a
commit 0bd1147ff0
8 changed files with 307 additions and 57 deletions
+1 -1
View File
@@ -502,7 +502,7 @@ func toBytes(s string) (int64, error) {
func getFwmark() int {
if nbnet.AdvancedRouting() && runtime.GOOS == "linux" {
return nbnet.ControlPlaneMark
return int(nbnet.ControlPlaneMark)
}
return 0
}