net/tstun: set link speed to SPEED_UNKNOWN

Fixes #3933.

Signed-off-by: Dmytro Shynkevych <dm.shynk@gmail.com>
This commit is contained in:
Dmytro Shynkevych
2022-02-22 02:33:23 -05:00
committed by Brad Fitzpatrick
parent 5d085a6f41
commit d9a7205be5
6 changed files with 88 additions and 2 deletions

View 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
}