mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-08-25 08:25:07 +03:00
Refactor configuration struct comments and update default multicast interface settings
This commit is contained in:
parent
de40a2c1ad
commit
d741657948
8 changed files with 57 additions and 19 deletions
|
@ -15,7 +15,14 @@ func getDefaults() platformDefaultParameters {
|
|||
|
||||
// Multicast interfaces
|
||||
DefaultMulticastInterfaces: []MulticastInterfaceConfig{
|
||||
{Regex: ".*", Beacon: true, Listen: true},
|
||||
{
|
||||
Regex: ".*",
|
||||
Beacon: true,
|
||||
Listen: true,
|
||||
Port: 0, // 0 means random port
|
||||
Priority: 0, // 0 is highest priority
|
||||
Password: "", // empty means no password required
|
||||
},
|
||||
},
|
||||
|
||||
// TUN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue