2021-04-06 05:45:56 +01:00
|
|
|
// Copyright (c) 2021 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.
|
|
|
|
|
2021-08-05 23:42:39 +01:00
|
|
|
//go:build !windows
|
2021-04-06 05:45:56 +01:00
|
|
|
// +build !windows
|
|
|
|
|
|
|
|
package tstun
|
|
|
|
|
2021-05-25 20:42:22 +01:00
|
|
|
import "golang.zx2c4.com/wireguard/tun"
|
2021-04-06 05:45:56 +01:00
|
|
|
|
|
|
|
func interfaceName(dev tun.Device) (string, error) {
|
|
|
|
return dev.Name()
|
|
|
|
}
|