mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-15 01:32:56 +02:00
[client] Check for fwmark support and use fallback routing if not supported (#3220)
This commit is contained in:
12
util/net/env_generic.go
Normal file
12
util/net/env_generic.go
Normal file
@ -0,0 +1,12 @@
|
||||
//go:build !linux || android
|
||||
|
||||
package net
|
||||
|
||||
func Init() {
|
||||
// nothing to do on non-linux
|
||||
}
|
||||
|
||||
func AdvancedRouting() bool {
|
||||
// non-linux currently doesn't support advanced routing
|
||||
return false
|
||||
}
|
Reference in New Issue
Block a user