5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-30 06:41:36 +00:00
yggdrasil-go/src/defaults/defaults_darwin.go

19 lines
429 B
Go
Raw Normal View History

// +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,
}
}