mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-07-06 09:54:06 +00:00
Refactor multicast so that it creates a new TCP listener for each interface with LL addresses (so that it will not break if Listen is not set with a wildcard address)
This commit is contained in:
@ -119,7 +119,8 @@ func (l *link) listen(uri string) error {
|
||||
}
|
||||
switch u.Scheme {
|
||||
case "tcp":
|
||||
return l.tcp.listen(u.Host)
|
||||
_, err := l.tcp.listen(u.Host)
|
||||
return err
|
||||
default:
|
||||
return errors.New("unknown listen scheme: " + u.Scheme)
|
||||
}
|
||||
|
Reference in New Issue
Block a user