mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 14:45:07 +03:00
change multicast config format
This commit is contained in:
parent
2a7a53b6b6
commit
2874ce1327
9 changed files with 68 additions and 47 deletions
|
@ -2,6 +2,8 @@ package defaults
|
|||
|
||||
import "github.com/yggdrasil-network/yggdrasil-go/src/config"
|
||||
|
||||
type MulticastInterfaceConfig = config.MulticastInterfaceConfig
|
||||
|
||||
// Defines which parameters are expected by default for configuration on a
|
||||
// specific platform. These values are populated in the relevant defaults_*.go
|
||||
// for the platform being targeted. They must be set.
|
||||
|
@ -13,7 +15,7 @@ type platformDefaultParameters struct {
|
|||
DefaultConfigFile string
|
||||
|
||||
// Multicast interfaces
|
||||
DefaultMulticastInterfaces []string
|
||||
DefaultMulticastInterfaces []MulticastInterfaceConfig
|
||||
|
||||
// TUN/TAP
|
||||
MaximumIfMTU uint64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue