diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 3 | ||||
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index 5351b81946..73c23b7158 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -72,7 +72,8 @@ const customTunnelEndpointSchema = oneOf( allowed_ips: arrayOf(string), endpoint: string, }), - gateway: string, + ipv4_gateway: string, + ipv6_gateway: maybe(string), }), }), ); diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index 2158926300..a2cd296c0c 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -90,15 +90,16 @@ export type ConnectionConfig = | { wireguard: { tunnel: { - private_key: string; + privateKey: string; addresses: string[]; }; peer: { - public_key: string; + publicKey: string; addresses: string[]; endpoint: string; }; - gateway: string; + ipv4Gateway: string; + ipv6Gateway?: string; }; }; |
