mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-20 09:57:31 +00:00
net/tstun: set link speed to SPEED_UNKNOWN
Fixes #3933. Signed-off-by: Dmytro Shynkevych <dm.shynk@gmail.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
5d085a6f41
commit
d9a7205be5
14
net/tstun/linkattrs_notlinux.go
Normal file
14
net/tstun/linkattrs_notlinux.go
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright (c) 2022 Tailscale Inc & AUTHORS All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build !linux
|
||||
// +build !linux
|
||||
|
||||
package tstun
|
||||
|
||||
import "golang.zx2c4.com/wireguard/tun"
|
||||
|
||||
func setLinkAttrs(iface tun.Device) error {
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user