mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-29 06:35:07 +03:00
changed NetworkDomain.Prefix format from []byte to string for more conveniant input
This commit is contained in:
parent
f84f0a5f19
commit
3e72a57ec5
9 changed files with 34 additions and 27 deletions
|
@ -18,10 +18,10 @@ func getDefaults() platformDefaultParameters {
|
|||
{Regex: ".*", Beacon: true, Listen: true},
|
||||
},
|
||||
|
||||
// Network domain
|
||||
DefaultNetworkDomain: NetworkDomainConfig{
|
||||
Prefix: [...]byte{0xfc},
|
||||
},
|
||||
// Network domain
|
||||
DefaultNetworkDomain: NetworkDomainConfig{
|
||||
Prefix: "fc",
|
||||
},
|
||||
|
||||
// TUN
|
||||
MaximumIfMTU: 32767,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue