mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-05-21 01:15:07 +03:00
The AllowedPublicKeys
option should not apply to multicast listeners
Another fix for #1141.
This commit is contained in:
parent
d1b849588f
commit
377bc664c9
4 changed files with 28 additions and 19 deletions
|
@ -127,7 +127,7 @@ func New(cert *tls.Certificate, logger Logger, opts ...SetupOption) (*Core, erro
|
|||
c.log.Errorf("Invalid listener URI %q specified, ignoring\n", listenaddr)
|
||||
continue
|
||||
}
|
||||
if _, err = c.links.listen(u, ""); err != nil {
|
||||
if _, err = c.links.listen(u, "", false); err != nil {
|
||||
c.log.Errorf("Failed to start listener %q: %s\n", listenaddr, err)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue