mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-27 03:55:36 +00:00
8a55d463c8
DefaultRouteInterface was previously guarded by build tags such that it was only accessible to tailscaled-on-macos, but there was no reason for that. It runs fine in the sandbox and gives better default info, so merge its file into interfaces_darwin.go. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
16 lines
351 B
Go
16 lines
351 B
Go
// Copyright (c) 2020 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.
|
|
|
|
// +build !linux,!windows,!darwin
|
|
|
|
package interfaces
|
|
|
|
import "errors"
|
|
|
|
var errTODO = errors.New("TODO")
|
|
|
|
func DefaultRouteInterface() (string, error) {
|
|
return "TODO", errTODO
|
|
}
|