mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
26 lines
635 B
Go
26 lines
635 B
Go
// +build !linux,!darwin,!windows,!openbsd,!freebsd,!netbsd
|
|
|
|
package defaults
|
|
|
|
// Sane defaults for the other platforms. 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: "/etc/yggdrasil.conf",
|
|
|
|
// Multicast interfaces
|
|
DefaultMulticastInterfaces: []string{
|
|
".*",
|
|
},
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 65535,
|
|
DefaultIfMTU: 65535,
|
|
DefaultIfName: "none",
|
|
DefaultIfTAPMode: false,
|
|
}
|
|
}
|