Merge pull request #235 from mattymo/master
#234 redirect should use FDQN instead of netbios name when possible
This commit is contained in:
commit
5fd63def4f
@ -135,6 +135,9 @@ boolean rdp_client_redirect(rdpRdp* rdp)
|
||||
if (redirection->flags & LB_TARGET_NET_ADDRESS) {
|
||||
xfree(settings->hostname);
|
||||
settings->hostname = redirection->targetNetAddress.ascii;
|
||||
} else if (redirection->flags & LB_TARGET_FQDN) {
|
||||
xfree(settings->hostname);
|
||||
settings->hostname = redirection->targetFQDN.ascii;
|
||||
} else if (redirection->flags & LB_TARGET_NETBIOS_NAME) {
|
||||
xfree(settings->hostname);
|
||||
settings->hostname = redirection->targetNetBiosName.ascii;
|
||||
|
Loading…
Reference in New Issue
Block a user