completed fix for allowing links from the same host:

8fe1c41295
This commit is contained in:
vadym 2022-12-07 22:19:45 +02:00
parent 37832606c7
commit 7cee94e5cb

View file

@ -240,9 +240,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,