mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-23 08:51:29 +02:00
reved seq id check from encodeGroups()
Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
@@ -188,9 +188,6 @@ func (e *componentEncoder) encodeGroups() []*proto.GroupCompact {
|
||||
|
||||
out := make([]*proto.GroupCompact, 0, len(e.components.Groups))
|
||||
for _, g := range e.components.Groups {
|
||||
if !g.HasSeqID() {
|
||||
continue
|
||||
}
|
||||
peers := make([]string, 0, len(g.Peers))
|
||||
for _, peerID := range g.Peers {
|
||||
if _, ok := e.dedupPeers[peerID]; ok { // TODO (dmitri) is that necessary?
|
||||
|
||||
Reference in New Issue
Block a user