mirror of
https://github.com/yggdrasil-network/yggdrasil-go
synced 2024-11-10 23:40:34 +03:00
19 lines
426 B
Go
19 lines
426 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: "tcp://localhost:9001",
|
|
|
|
// TUN/TAP
|
|
MaximumIfMTU: 32767,
|
|
DefaultIfMTU: 32767,
|
|
DefaultIfName: "/dev/tap0",
|
|
DefaultIfTAPMode: true,
|
|
}
|
|
}
|