Reviewed-on: #54
@ -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)