mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-04-03 00:33:48 +00:00
27 lines
656 B
Go
27 lines
656 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package config
|
|
|
|
// 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",
|
|
|
|
// Configuration (used for yggdrasilctl)
|
|
DefaultConfigFile: "C:\\Program Files\\Yggdrasil\\yggdrasil.conf",
|
|
|
|
// Multicast interfaces
|
|
DefaultMulticastInterfaces: []MulticastInterfaceConfig{
|
|
{Regex: ".*", Beacon: true, Listen: true},
|
|
},
|
|
|
|
// TUN
|
|
MaximumIfMTU: 65535,
|
|
DefaultIfMTU: 65535,
|
|
DefaultIfName: "Yggdrasil",
|
|
}
|
|
}
|