Don't reject multiple genuine links from the same host

This commit is contained in:
Neil Alexander 2022-10-22 16:59:25 +01:00
parent d66b3ffb7a
commit 8fe1c41295
3 changed files with 14 additions and 15 deletions

View file

@ -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,