mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 14:15:06 +03:00
parent
37832606c7
commit
7cee94e5cb
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue