mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Rename awdl.go to link.go, add stream.go, update tcp.go
This commit is contained in:
parent
f6cb194d5c
commit
6fe3b01e90
4 changed files with 177 additions and 129 deletions
|
@ -44,7 +44,7 @@ type Core struct {
|
|||
searches searches
|
||||
multicast multicast
|
||||
tcp tcpInterface
|
||||
awdl awdl
|
||||
link link
|
||||
log *log.Logger
|
||||
}
|
||||
|
||||
|
@ -198,10 +198,12 @@ func (c *Core) Start(nc *config.NodeConfig, log *log.Logger) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if err := c.awdl.init(c); err != nil {
|
||||
c.log.Println("Failed to start AWDL interface")
|
||||
return err
|
||||
}
|
||||
/*
|
||||
if err := c.awdl.init(c); err != nil {
|
||||
c.log.Println("Failed to start AWDL interface")
|
||||
return err
|
||||
}
|
||||
*/
|
||||
|
||||
if nc.SwitchOptions.MaxTotalQueueSize >= SwitchQueueTotalMinSize {
|
||||
c.switchTable.queueTotalMaxSize = nc.SwitchOptions.MaxTotalQueueSize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue