cluster: fix wg0.conf generator #54

Merged
amery merged 1 commits from pr-amery-wg0.conf into main 4 months ago
  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