core: Enable network auto detection by default
This commit is contained in:
parent
79fb38da84
commit
e2620f0faa
@ -593,11 +593,10 @@ int rdp_recv_autodetect_request_packet(rdpRdp* rdp, wStream* s)
|
||||
|
||||
if (!rdp->settings->NetworkAutoDetect)
|
||||
{
|
||||
WLog_ERR(AUTODETECT_TAG,
|
||||
WLog_WARN(AUTODETECT_TAG,
|
||||
"Received a [MS-RDPBCGR] 2.2.14.1.1 RTT Measure Request (RDP_RTT_REQUEST) [%s] "
|
||||
"message but support was not enabled",
|
||||
autodetect_request_type_to_string(autodetectReqPdu.requestType));
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (autodetectReqPdu.headerTypeId != TYPE_ID_AUTODETECT_REQUEST)
|
||||
@ -671,11 +670,10 @@ int rdp_recv_autodetect_response_packet(rdpRdp* rdp, wStream* s)
|
||||
|
||||
if (!rdp->settings->NetworkAutoDetect)
|
||||
{
|
||||
WLog_ERR(AUTODETECT_TAG,
|
||||
WLog_WARN(AUTODETECT_TAG,
|
||||
"Received a [MS-RDPBCGR] 2.2.14.2.1 RTT Measure Response (RDP_RTT_RESPONSE) [%s] "
|
||||
"message but support was not enabled",
|
||||
autodetect_request_type_to_string(autodetectRspPdu.responseType));
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (autodetectRspPdu.headerTypeId != TYPE_ID_AUTODETECT_RESPONSE)
|
||||
|
@ -352,6 +352,7 @@ rdpSettings* freerdp_settings_new(DWORD flags)
|
||||
settings->DisableMenuAnims = TRUE;
|
||||
settings->DisableThemes = FALSE;
|
||||
settings->ConnectionType = CONNECTION_TYPE_LAN;
|
||||
settings->NetworkAutoDetect = TRUE;
|
||||
settings->EncryptionMethods = ENCRYPTION_METHOD_NONE;
|
||||
settings->EncryptionLevel = ENCRYPTION_LEVEL_NONE;
|
||||
settings->FIPSMode = FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user