mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-04 07:25:17 +00:00
19 lines
434 B
Go
19 lines
434 B
Go
|
// +build freebsd
|
||
|
|
||
|
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",
|
||
|
|
||
|
// TUN/TAP
|
||
|
MaximumIfMTU: 9000,
|
||
|
DefaultIfMTU: 9000,
|
||
|
DefaultIfName: "/dev/tap0",
|
||
|
DefaultIfTAPMode: true,
|
||
|
}
|
||
|
}
|