diff --git a/internal/mux/mux.go b/internal/mux/mux.go index 02e3acae930..dc6bb7e3900 100644 --- a/internal/mux/mux.go +++ b/internal/mux/mux.go @@ -193,7 +193,7 @@ func (m *Mux) handlePendingPackets(endpoint *Endpoint, matchFunc MatchFunc) { m.log.Warnf("Warning: mux: error writing packet to endpoint from pending queue: %s", err) } } else { - pendingPackets = append(pendingPackets, buf) + pendingPackets = append(pendingPackets, 0, buf) } } m.pendingPackets = pendingPackets