2023-01-27 21:37:20 +00:00
|
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
2022-09-26 18:07:28 +01:00
|
|
|
|
|
|
|
//go:build !linux && !darwin && !freebsd
|
|
|
|
|
|
|
|
package routetable
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
|
|
|
var errUnsupported = errors.New("cannot get route table on platform " + runtime.GOOS)
|
|
|
|
|
|
|
|
func Get(max int) ([]RouteEntry, error) {
|
|
|
|
return nil, errUnsupported
|
|
|
|
}
|