mirror of https://gogs.blitter.com/RLabs/xs
Add remote IP to net.Listener Accept logmsg
This commit is contained in:
parent
952279a108
commit
7e4aeba93a
|
@ -1115,7 +1115,7 @@ func (hl *HKExListener) Accept() (hc Conn, err error) {
|
|||
return Conn{}, err
|
||||
}
|
||||
|
||||
logger.LogDebug(fmt.Sprintln("[net.Listener Accepted]"))
|
||||
logger.LogDebug(fmt.Sprintf("[net.Listener Accepted %v]\n", c.RemoteAddr()))
|
||||
}
|
||||
// Read KEx alg proposed by client
|
||||
var kexAlg KEXAlg
|
||||
|
|
Loading…
Reference in New Issue