2018-07-07 11:08:52 +00:00
|
|
|
// +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{
|
2018-07-08 00:37:36 +00:00
|
|
|
// Admin
|
2018-07-07 11:16:55 +00:00
|
|
|
DefaultAdminListen: "tcp://localhost:9001",
|
2018-07-07 11:08:52 +00:00
|
|
|
|
2018-07-08 00:37:36 +00:00
|
|
|
// TUN/TAP
|
|
|
|
MaximumIfMTU: 65535,
|
|
|
|
DefaultIfMTU: 65535,
|
|
|
|
DefaultIfName: "auto",
|
|
|
|
DefaultIfTAPMode: false,
|
2018-07-07 11:08:52 +00:00
|
|
|
}
|
|
|
|
}
|