[core,connection]: Fix load balance setting on redirection
The routing token is already set for the nego on rdp_client_connect func.
This commit is contained in:
parent
8c998e67f3
commit
5f8e64f89c
@ -618,16 +618,7 @@ BOOL rdp_client_redirect(rdpRdp* rdp)
|
||||
settings = rdp->settings;
|
||||
WINPR_ASSERT(settings);
|
||||
|
||||
if (settings->RedirectionFlags & LB_LOAD_BALANCE_INFO)
|
||||
{
|
||||
if (settings->LoadBalanceInfo && (settings->LoadBalanceInfoLength > 0))
|
||||
{
|
||||
if (!nego_set_routing_token(rdp->nego, settings->LoadBalanceInfo,
|
||||
settings->LoadBalanceInfoLength))
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
else
|
||||
if ((settings->RedirectionFlags & LB_LOAD_BALANCE_INFO) == 0)
|
||||
{
|
||||
BOOL haveRedirectAddress = FALSE;
|
||||
UINT32 redirectionMask = settings->RedirectionPreferType;
|
||||
|
Loading…
Reference in New Issue
Block a user