diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/app.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/renderer/app.tsx b/gui/src/renderer/app.tsx index ebb7f0e18b..a0fb5f3266 100644 --- a/gui/src/renderer/app.tsx +++ b/gui/src/renderer/app.tsx @@ -986,8 +986,10 @@ export default class AppRenderer { const city = country?.cities.find((location) => location.code === constraint.hostname[1]); let entryHostname: string | undefined; + const multihopConstraint = relaySettings.normal.wireguardConstraints.useMultihop; const entryLocationConstraint = relaySettings.normal.wireguardConstraints.entryLocation; if ( + multihopConstraint && entryLocationConstraint !== 'any' && 'hostname' in entryLocationConstraint.only && entryLocationConstraint.only.hostname.length === 3 |
