Fix network monitor

This commit is contained in:
世界
2023-07-23 14:42:19 +08:00
parent 2675aff98a
commit 90b3aad83a
21 changed files with 79 additions and 80 deletions

View File

@@ -174,9 +174,9 @@ func (s *SSH) connect() (*ssh.Client, error) {
return client, nil
}
func (s *SSH) InterfaceUpdated() error {
func (s *SSH) InterfaceUpdated() {
common.Close(s.clientConn)
return nil
return
}
func (s *SSH) Close() error {