mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-25 15:25:43 +00:00
19 lines
443 B
Go
19 lines
443 B
Go
|
// +build linux
|
||
|
|
||
|
package defaults
|
||
|
|
||
|
// Sane defaults for the Linux platform. 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: 65535,
|
||
|
DefaultIfMTU: 65535,
|
||
|
DefaultIfName: "auto",
|
||
|
DefaultIfTAPMode: false,
|
||
|
}
|
||
|
}
|