mirror of
https://github.com/tailscale/tailscale.git
synced 2025-09-20 21:21:23 +02:00
temp msg
Signed-off-by: KevinLiang10 <37811973+KevinLiang10@users.noreply.github.com>
This commit is contained in:
parent
cf8cafecc8
commit
c07a684268
@ -60,6 +60,7 @@ var forceBindToDevice = envknob.RegisterBool("TS_FORCE_LINUX_BIND_TO_DEVICE")
|
||||
// If it doesn't, we have to use SO_BINDTODEVICE on our sockets instead.
|
||||
func UseSocketMark() bool {
|
||||
if forceBindToDevice() {
|
||||
fmt.Println("netns: forcing TS_FORCE_LINUX_BIND_TO_DEVICE=true; using SO_BINDTODEVICE")
|
||||
return false
|
||||
}
|
||||
socketMarkWorksOnce.Do(func() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user