mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 06:05:06 +03:00
Minor Fixes (#1107)
* Minor comment fixes. * Optimize PeerEntry for memory efficiency * Improve NodeConfig for memory alignment
This commit is contained in:
parent
5da1fbe397
commit
f56f9c124c
5 changed files with 9 additions and 9 deletions
|
@ -188,7 +188,7 @@ func main() {
|
|||
|
||||
n := &node{}
|
||||
|
||||
// Setup the Yggdrasil node itself.
|
||||
// Set up the Yggdrasil node itself.
|
||||
{
|
||||
options := []core.SetupOption{
|
||||
core.NodeInfo(cfg.NodeInfo),
|
||||
|
@ -221,7 +221,7 @@ func main() {
|
|||
logger.Printf("Your IPv6 subnet is %s", subnet.String())
|
||||
}
|
||||
|
||||
// Setup the admin socket.
|
||||
// Set up the admin socket.
|
||||
{
|
||||
options := []admin.SetupOption{
|
||||
admin.ListenAddress(cfg.AdminListen),
|
||||
|
@ -237,7 +237,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
// Setup the multicast module.
|
||||
// Set up the multicast module.
|
||||
{
|
||||
options := []multicast.SetupOption{}
|
||||
for _, intf := range cfg.MulticastInterfaces {
|
||||
|
@ -258,7 +258,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
// Setup the TUN module.
|
||||
// Set up the TUN module.
|
||||
{
|
||||
options := []tun.SetupOption{
|
||||
tun.InterfaceName(cfg.IfName),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue