Shorter servertun hangup msg

Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
Russ Magee 2018-11-11 23:03:32 -08:00
parent b0f614f82e
commit d9453835bf

View file

@ -332,7 +332,7 @@ func (hc *Conn) StartServerTunnel(lport, rport uint16) {
if (*hc.tuns)[rport].KeepAlive > 50 { if (*hc.tuns)[rport].KeepAlive > 50 {
(*hc.tuns)[rport].Died = true (*hc.tuns)[rport].Died = true
logger.LogDebug("[ServerTun] worker A: Oh dear, client appears to have died. Hanging up rport Dial().") logger.LogDebug("[ServerTun] worker A: Client died, hanging up.")
} else { } else {
(*hc.tuns)[rport].KeepAlive += 1 (*hc.tuns)[rport].KeepAlive += 1
} }