Skip to content

Commit

Permalink
Set default earlier in flow. Fixes #1801
Browse files Browse the repository at this point in the history
  • Loading branch information
yury committed Aug 1, 2023
1 parent b6ea903 commit d011b98
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sessions/MoshSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,8 @@ - (void)processMoshSettings:(BKHosts *)host
self.sessionParams.predictionMode = self.sessionParams.predictionMode ?: predictionMode;
self.sessionParams.predictOverwrite = self.sessionParams.predictOverwrite ?: host.moshPredictOverwrite;

NSString *experimentalIP = host.moshExperimentalIP ? experimentalIPStrings[host.moshExperimentalIP] : nil;
NSString *experimentalIP = host.moshExperimentalIP ? experimentalIPStrings[host.moshExperimentalIP] : @"default";
self.sessionParams.experimentalRemoteIp = self.sessionParams.experimentalRemoteIp ?: experimentalIP;
return;
}

- (NSString *)getMoshServerStringCmd:(NSString *)server
Expand Down

0 comments on commit d011b98

Please sign in to comment.