2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2021-04-06 05:45:56 +01:00
|
|
|
|
2021-08-05 23:42:39 +01:00
|
|
|
//go:build !windows
|
2021-04-06 05:45:56 +01:00
|
|
|
|
|
|
|
package tstun
|
|
|
|
|
2022-12-09 23:12:20 +00:00
|
|
|
import "github.com/tailscale/wireguard-go/tun"
|
2021-04-06 05:45:56 +01:00
|
|
|
|
|
|
|
func interfaceName(dev tun.Device) (string, error) {
|
|
|
|
return dev.Name()
|
|
|
|
}
|