summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_listen.c
diff options
context:
space:
mode:
Diffstat (limited to 'xrdp/xrdp_listen.c')
-rw-r--r--xrdp/xrdp_listen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c
index e71b8180..1e399368 100644
--- a/xrdp/xrdp_listen.c
+++ b/xrdp/xrdp_listen.c
@@ -149,6 +149,10 @@ xrdp_listen_main_loop(struct xrdp_listen* self)
error = g_tcp_bind(self->sck, "3389");
if (error != 0)
{
+ error = g_tcp_bind(self->sck, "3390");
+ }
+ if (error != 0)
+ {
g_printf("bind error in xrdp_listen_main_loop\n\r");
g_tcp_close(self->sck);
self->status = -1;