mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-15 03:11:50 +00:00
18 lines
429 B
Go
18 lines
429 B
Go
// +build darwin
|
|
|
|
package defaults
|
|
|
|
// Sane defaults for the macOS/Darwin platform. The "default" options may be
|
|
// may be replaced by the running configuration.
|
|
func GetDefaults() platformDefaultParameters {
|
|
return platformDefaultParameters{
|
|
// Admin
|
|
DefaultAdminListen: "tcp://localhost:9001",
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 65535,
|
|
DefaultIfMTU: 65535,
|
|
DefaultIfName: "auto",
|
|
DefaultIfTAPMode: false,
|
|
}
|
|
}
|