Add multicast interfaces to platform-specific defaults (this makes it easier to avoid bringing AWDL up by default on macOS as an example, or over L2 VPNs when not expected)

This commit is contained in:
Neil Alexander 2019-06-11 10:18:59 +01:00
parent d4a3b2bc76
commit 17175b49f2
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
9 changed files with 43 additions and 1 deletions

View file

@ -12,6 +12,12 @@ func GetDefaults() platformDefaultParameters {
// Configuration (used for yggdrasilctl)
DefaultConfigFile: "/etc/yggdrasil.conf",
// Multicast interfaces
DefaultMulticastInterfaces: []string{
"en*",
"bridge*",
},
// TUN/TAP
MaximumIfMTU: 65535,
DefaultIfMTU: 65535,