tun2: log better on disconnect

This commit is contained in:
Cadey Ratio 2017-03-26 16:21:02 -07:00
parent ed00bc4232
commit bbf0dc14ba
1 changed files with 2 additions and 2 deletions

View File

@ -316,9 +316,9 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
s.domainlock.Unlock()
ln.Log(ln.F{
ln.Log(connection.F(), ln.F{
"action": "client_disconnecting",
}, connection)
})
controlStream.Close()
session.Close()