Fully close tunnels when CloseAllTunnels is called (#448)

This commit is contained in:
Nathan Brown
2021-04-26 10:42:24 -05:00
committed by GitHub
parent a0735dd7d5
commit 6f37280e8e
3 changed files with 12 additions and 5 deletions

2
ssh.go
View File

@ -520,7 +520,7 @@ func sshCloseTunnel(ifce *Interface, fs interface{}, a []string, w sshd.StringWr
)
}
ifce.closeTunnel(hostInfo)
ifce.closeTunnel(hostInfo, false)
return w.WriteLine("Closed")
}