tun2: log better on disconnect
This commit is contained in:
parent
ed00bc4232
commit
bbf0dc14ba
|
@ -316,9 +316,9 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
|
||||||
|
|
||||||
s.domainlock.Unlock()
|
s.domainlock.Unlock()
|
||||||
|
|
||||||
ln.Log(ln.F{
|
ln.Log(connection.F(), ln.F{
|
||||||
"action": "client_disconnecting",
|
"action": "client_disconnecting",
|
||||||
}, connection)
|
})
|
||||||
|
|
||||||
controlStream.Close()
|
controlStream.Close()
|
||||||
session.Close()
|
session.Close()
|
||||||
|
|
Loading…
Reference in New Issue