mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Refactor TUN setup (isolated config)
This commit is contained in:
parent
b1f61fb0a8
commit
a7d06e048a
4 changed files with 57 additions and 40 deletions
|
@ -80,8 +80,8 @@ func (m *Multicast) _start() error {
|
|||
if len(m.config._interfaces) == 0 {
|
||||
return nil
|
||||
}
|
||||
m.log.Infoln("Starting multicast module")
|
||||
defer m.log.Infoln("Started multicast module")
|
||||
m.log.Debugln("Starting multicast module")
|
||||
defer m.log.Debugln("Started multicast module")
|
||||
addr, err := net.ResolveUDPAddr("udp", string(m.config._groupAddr))
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue