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

19 lines
436 B
Go
Raw Normal View History

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