Tunnel view model: Invalidate the configuration object when updating allowedIPs using the 'Exclude private IPs' switch
Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
1 parent
a117e3ae3e
commit
8590a8804a
1 file changed
+1
@@ -361,6 +361,7 @@ class TunnelViewModel {
|
|||||||
[TunnelViewModel.PeerData.ipv4DefaultRouteString]
|
[TunnelViewModel.PeerData.ipv4DefaultRouteString]
|
||||||
}
|
}
|
||||||
scratchpad[.allowedIPs] = modifiedAllowedIPStrings.joined(separator: ", ")
|
scratchpad[.allowedIPs] = modifiedAllowedIPStrings.joined(separator: ", ")
|
||||||
|
validatedConfiguration = nil // The configuration has been modified, and needs to be saved
|
||||||
excludePrivateIPsValue = isOn
|
excludePrivateIPsValue = isOn
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user