From b132560f651ad5f04b977517803a1d6016b1e9a5 Mon Sep 17 00:00:00 2001 From: Arceliar Date: Sat, 16 May 2020 17:24:26 -0500 Subject: [PATCH] it helps to actually run the notifyQueued stuff... --- src/yggdrasil/peer.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/yggdrasil/peer.go b/src/yggdrasil/peer.go index 31ea5f46..ada29214 100644 --- a/src/yggdrasil/peer.go +++ b/src/yggdrasil/peer.go @@ -281,6 +281,8 @@ func (p *peer) _sendPackets(packets [][]byte) { if p.idle { p.idle = false p._handleIdle() + } else { + p.intf.notifyQueued(p.seq) } } @@ -296,6 +298,7 @@ func (p *peer) _handleIdle() { } } if len(packets) > 0 { + p.seq++ p.bytesSent += uint64(size) p.intf.out(packets) } else {