Skip to content

Commit

Permalink
Reset port when chaning transport protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Nov 16, 2023
1 parent 898ecce commit 802e500
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gui/src/renderer/components/OpenVpnSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ function TransportProtocolSelector() {
async (protocol: RelayProtocol | null) => {
await relaySettingsUpdater((settings) => {
settings.openvpnConstraints.protocol = wrapConstraint(protocol);
settings.openvpnConstraints.port = wrapConstraint<number>(undefined);
return settings;
});
},
Expand Down

0 comments on commit 802e500

Please sign in to comment.