Browse Source

Merge pull request 'cluster: fix wg0.conf generator' (#54) from pr-amery-wg0.conf into main

Reviewed-on: #54
pull/56/head v0.8.6
Alejandro Mery 5 months ago
parent
commit
4345a17d9a
  1. 2
      pkg/cluster/rings.go

2
pkg/cluster/rings.go

@ -202,7 +202,7 @@ func (r *Ring) AddPeer(p *Machine) bool {
}
switch {
case r.ID == 0:
case r.ID == rings.RingZeroID:
r.setRingZeroAllowedIPs(rp)
case p.IsGateway():
r.setRingOneGatewayAllowedIPs(rp)

Loading…
Cancel
Save