mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-30 07:05:06 +03:00
Clean up defaults
This commit is contained in:
parent
b561c540ca
commit
47d34b810b
7 changed files with 1 additions and 21 deletions
|
@ -11,8 +11,7 @@ type platformDefaultParameters struct {
|
||||||
DefaultConfigFile string
|
DefaultConfigFile string
|
||||||
|
|
||||||
// Multicast interfaces
|
// Multicast interfaces
|
||||||
DefaultMulticastInterfaces []string
|
DefaultMulticastInterfaces []string
|
||||||
DefaultMulticastDNSInterfaces []string
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU uint64
|
MaximumIfMTU uint64
|
||||||
|
|
|
@ -17,10 +17,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
"en.*",
|
"en.*",
|
||||||
"bridge.*",
|
"bridge.*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
"en.*",
|
|
||||||
"bridge.*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 65535,
|
MaximumIfMTU: 65535,
|
||||||
|
|
|
@ -16,9 +16,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
DefaultMulticastInterfaces: []string{
|
DefaultMulticastInterfaces: []string{
|
||||||
".*",
|
".*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
".*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 32767,
|
MaximumIfMTU: 32767,
|
||||||
|
|
|
@ -16,9 +16,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
DefaultMulticastInterfaces: []string{
|
DefaultMulticastInterfaces: []string{
|
||||||
".*",
|
".*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
".*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 65535,
|
MaximumIfMTU: 65535,
|
||||||
|
|
|
@ -16,9 +16,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
DefaultMulticastInterfaces: []string{
|
DefaultMulticastInterfaces: []string{
|
||||||
".*",
|
".*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
".*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 16384,
|
MaximumIfMTU: 16384,
|
||||||
|
|
|
@ -16,9 +16,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
DefaultMulticastInterfaces: []string{
|
DefaultMulticastInterfaces: []string{
|
||||||
".*",
|
".*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
".*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 65535,
|
MaximumIfMTU: 65535,
|
||||||
|
|
|
@ -16,9 +16,6 @@ func GetDefaults() platformDefaultParameters {
|
||||||
DefaultMulticastInterfaces: []string{
|
DefaultMulticastInterfaces: []string{
|
||||||
".*",
|
".*",
|
||||||
},
|
},
|
||||||
DefaultMulticastDNSInterfaces: []string{
|
|
||||||
".*",
|
|
||||||
},
|
|
||||||
|
|
||||||
// TUN/TAP
|
// TUN/TAP
|
||||||
MaximumIfMTU: 65535,
|
MaximumIfMTU: 65535,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue