mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
Don't reject multiple genuine links from the same host
This commit is contained in:
parent
d66b3ffb7a
commit
8fe1c41295
3 changed files with 14 additions and 15 deletions
|
@ -320,9 +320,6 @@ func (intf *link) close() error {
|
|||
}
|
||||
|
||||
func linkInfoFor(linkType, sintf, remote string) linkInfo {
|
||||
if h, _, err := net.SplitHostPort(remote); err == nil {
|
||||
remote = h
|
||||
}
|
||||
return linkInfo{
|
||||
linkType: linkType,
|
||||
local: sintf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue