From c2fa671dda089dd03618079bc4d4935cb7553aa3 Mon Sep 17 00:00:00 2001 From: Martin Fleisz Date: Tue, 9 Jul 2019 15:02:49 +0200 Subject: [PATCH] client: populate settings didn't update NetworkAutoDetect --- client/common/file.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/common/file.c b/client/common/file.c index 748ae25..be742ec 100644 --- a/client/common/file.c +++ b/client/common/file.c @@ -1085,6 +1085,13 @@ BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings* return FALSE; } + if (~file->NetworkAutoDetect) + { + if (!freerdp_settings_set_bool(settings, FreeRDP_NetworkAutoDetect, + file->NetworkAutoDetect)) + return FALSE; + } + if (~file->AutoReconnectionEnabled) { if (!freerdp_settings_set_bool(settings, FreeRDP_AutoReconnectionEnabled, -- 2.7.4