diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-27 20:57:24 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-06-28 19:18:45 +0000 |
| commit | 84935bdd79d1460d37d90513f00f032afd68b876 (patch) | |
| tree | d68c36364a80d9865e871dfcbb56ab94b90efa56 /gui | |
| parent | 16255a79cfc471fecffd92e207fb5ea395adf738 (diff) | |
| download | mullvadvpn-84935bdd79d1460d37d90513f00f032afd68b876.tar.xz mullvadvpn-84935bdd79d1460d37d90513f00f032afd68b876.zip | |
Include location in `TunnelState`
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 1 | ||||
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index 435edacdf7..d0b1d2eff4 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -250,6 +250,7 @@ const tunnelStateSchema = oneOf( }), ), }), + location: locationSchema, }), }), object({ diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index b245685f85..fbac6df9dd 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -77,6 +77,7 @@ export type DaemonEvent = export interface ITunnelStateRelayInfo { endpoint: ITunnelEndpoint; + location: ILocation; } export type TunnelState = |
