mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-23 22:45:40 +00:00
26 lines
570 B
Go
26 lines
570 B
Go
// +build openbsd
|
|
|
|
package defaults
|
|
|
|
// Sane defaults for the BSD platforms. The "default" options may be
|
|
// may be replaced by the running configuration.
|
|
func GetDefaults() platformDefaultParameters {
|
|
return platformDefaultParameters{
|
|
// Admin
|
|
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
|
|
|
|
// Configuration (used for yggdrasilctl)
|
|
DefaultConfigFile: "/etc/yggdrasil.conf",
|
|
|
|
// Multicast interfaces
|
|
DefaultMulticastInterfaces: []string{
|
|
".*",
|
|
},
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 16384,
|
|
DefaultIfMTU: 16384,
|
|
DefaultIfName: "/dev/tun0",
|
|
}
|
|
}
|