mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
增加log
This commit is contained in:
@@ -65,6 +65,7 @@ func (p *Pool) handleDisconnect(data *network.Disconnect) {
|
||||
p.RUnlock()
|
||||
|
||||
if link != nil {
|
||||
logging.Info("disconnect link %s from remote", id)
|
||||
link.Close()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user