mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-01 05:55:19 +00:00
22 lines
521 B
Go
22 lines
521 B
Go
// +build netbsd
|
|
|
|
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",
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 9000,
|
|
DefaultIfMTU: 9000,
|
|
DefaultIfName: "/dev/tap0",
|
|
DefaultIfTAPMode: true,
|
|
}
|
|
}
|