mirror of https://gogs.blitter.com/RLabs/xs
Shorter servertun hangup msg
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
parent
b0f614f82e
commit
d9453835bf
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue