Add remote IP to net.Listener Accept logmsg

This commit is contained in:
Russ Magee 2024-05-01 23:46:43 -07:00
parent 952279a108
commit 7e4aeba93a
1 changed files with 1 additions and 1 deletions

View File

@ -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