mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
convert to go module
This commit is contained in:
parent
caa7b739af
commit
586781b49c
24 changed files with 65 additions and 34 deletions
18
src/defaults/defaults_darwin.go
Normal file
18
src/defaults/defaults_darwin.go
Normal file
|
@ -0,0 +1,18 @@
|
|||
// +build darwin
|
||||
|
||||
package defaults
|
||||
|
||||
// Sane defaults for the macOS/Darwin platform. 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: 65535,
|
||||
DefaultIfMTU: 65535,
|
||||
DefaultIfName: "auto",
|
||||
DefaultIfTAPMode: false,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue