mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-02-15 03:11:50 +00:00
21 lines
537 B
Go
21 lines
537 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",
|
|
|
|
// Configuration (used for yggdrasilctl)
|
|
DefaultConfigFile: "C:\\Program Files\\Yggdrasil\\yggdrasil.conf",
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 65535,
|
|
DefaultIfMTU: 65535,
|
|
DefaultIfName: "auto",
|
|
DefaultIfTAPMode: true,
|
|
}
|
|
}
|