5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-10 07:30:27 +00:00

Default to /var/run/yggdrasil.sock for admin on Linux, BSDs

This commit is contained in:
Neil Alexander 2018-12-10 00:37:32 +00:00
parent bbe2f56b74
commit 8aaaeb26eb
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ package defaults
func GetDefaults() platformDefaultParameters {
return platformDefaultParameters{
// Admin
DefaultAdminListen: "tcp://localhost:9001",
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
// TUN/TAP
MaximumIfMTU: 32767,

View File

@ -7,7 +7,7 @@ package defaults
func GetDefaults() platformDefaultParameters {
return platformDefaultParameters{
// Admin
DefaultAdminListen: "tcp://localhost:9001",
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
// TUN/TAP
MaximumIfMTU: 65535,

View File

@ -7,7 +7,7 @@ package defaults
func GetDefaults() platformDefaultParameters {
return platformDefaultParameters{
// Admin
DefaultAdminListen: "tcp://localhost:9001",
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
// TUN/TAP
MaximumIfMTU: 9000,

View File

@ -7,7 +7,7 @@ package defaults
func GetDefaults() platformDefaultParameters {
return platformDefaultParameters{
// Admin
DefaultAdminListen: "tcp://localhost:9001",
DefaultAdminListen: "unix:///var/run/yggdrasil.sock",
// TUN/TAP
MaximumIfMTU: 16384,