File tree 1 file changed +3
-6
lines changed
mullvad-daemon/src/migrations
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,15 @@ pub enum QuantumResistantState {
16
16
17
17
// ======================================================
18
18
19
- /// This is an open ended migration. There is no v7 yet!
20
- /// The migrations performed by this function are still backwards compatible.
21
- /// The JSON coming out of this migration can be read by any v6 compatible daemon.
22
- ///
23
- /// When further migrations are needed, add them here and if they are not backwards
24
- /// compatible then create v7 and "close" this migration for further modification.
19
+ /// This is an closed migration.
25
20
///
26
21
/// The `use_pq_safe_psk` tunnel option is replaced by `quantum_resistant`, which
27
22
/// is optional. `false` is mapped to `None`. `true` is mapped to `Some(true)`.
28
23
///
29
24
/// Migrate WireGuard over TCP port setting away from Only(443) (to auto),
30
25
/// since it's no longer a valid port.
26
+ ///
27
+ /// Migrate location constraints from `GeographicLocationConstraint` to `LocationConstraint`.
31
28
pub fn migrate ( settings : & mut serde_json:: Value ) -> Result < ( ) > {
32
29
if !version_matches ( settings) {
33
30
return Ok ( ( ) ) ;
You can’t perform that action at this time.
0 commit comments