5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-16 06:40:28 +00:00
yggdrasil-go/src/yggdrasil/defaults/defaults_windows.go

19 lines
436 B
Go

// +build windows
package defaults
// Sane defaults for the Windows 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: true,
}
}