diff options
Diffstat (limited to 'gui/src/renderer')
| -rw-r--r-- | gui/src/renderer/app.tsx | 2 | ||||
| -rw-r--r-- | gui/src/renderer/redux/settings/reducers.ts | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx index 23abcd8627..f4e711f3ff 100644 --- a/gui/src/renderer/app.tsx +++ b/gui/src/renderer/app.tsx @@ -636,12 +636,14 @@ export default class AppRenderer { wireguardConstraints, tunnelProtocol, providers, + ownership, } = relaySettings.normal; actions.settings.updateRelay({ normal: { location: liftConstraint(location), providers, + ownership, openvpn: { port: liftConstraint(openvpnConstraints.port), protocol: liftConstraint(openvpnConstraints.protocol), diff --git a/gui/src/renderer/redux/settings/reducers.ts b/gui/src/renderer/redux/settings/reducers.ts index 1c759e1a52..316a3596ae 100644 --- a/gui/src/renderer/redux/settings/reducers.ts +++ b/gui/src/renderer/redux/settings/reducers.ts @@ -4,6 +4,7 @@ import { IDnsOptions, IpVersion, LiftedConstraint, + Ownership, ProxySettings, RelayLocation, RelayProtocol, @@ -18,6 +19,7 @@ export type RelaySettingsRedux = tunnelProtocol: LiftedConstraint<TunnelProtocol>; location: LiftedConstraint<RelayLocation>; providers: string[]; + ownership: Ownership; openvpn: { port: LiftedConstraint<number>; protocol: LiftedConstraint<RelayProtocol>; @@ -111,6 +113,7 @@ const initialState: ISettingsReduxState = { location: 'any', tunnelProtocol: 'any', providers: [], + ownership: Ownership.any, wireguard: { port: 'any', ipVersion: 'any', useMultihop: false, entryLocation: 'any' }, openvpn: { port: 'any', |
