tun2: log more information after a connection is established

This commit is contained in:
Cadey Ratio 2017-03-26 13:29:01 -07:00
parent 73c2e41af7
commit 89943398fc
1 changed files with 2 additions and 0 deletions

View File

@ -229,6 +229,8 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
"action": "backend_connected",
"remote": c.RemoteAddr().String(),
"kcp": isKCP,
"domain": auth.Domain,
"user": connection.user,
})
s.connlock.Lock()