Added last_handshake_time fields to UAPI
This commit is contained in:
parent
bd6027a4d5
commit
18714fc4a4
5 changed files with 23 additions and 7 deletions
|
|
@ -379,7 +379,8 @@ func (peer *Peer) RoutineSequentialSender() {
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
atomic.AddUint64(&peer.txBytes, uint64(len(elem.packet)))
|
||||
|
||||
atomic.AddUint64(&peer.stats.txBytes, uint64(len(elem.packet)))
|
||||
peer.TimerResetKeepalive()
|
||||
}()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue