2021-02-23 03:29:54 +00: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 22:42:39 +00:00
|
|
|
//go:build !windows
|
2021-02-23 03:29:54 +00:00
|
|
|
// +build !windows
|
|
|
|
|
2021-03-27 05:07:19 +00:00
|
|
|
package tstun
|
2021-02-23 03:29:54 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"time"
|
|
|
|
|
2021-05-25 19:42:22 +00:00
|
|
|
"golang.zx2c4.com/wireguard/tun"
|
2021-02-23 03:29:54 +00:00
|
|
|
"tailscale.com/types/logger"
|
|
|
|
)
|
|
|
|
|
|
|
|
// Dummy implementation that does nothing.
|
|
|
|
func waitInterfaceUp(iface tun.Device, timeout time.Duration, logf logger.Logf) error {
|
|
|
|
return nil
|
|
|
|
}
|