summaryrefslogtreecommitdiffstats
path: root/sesman/sesman.c
diff options
context:
space:
mode:
authorilsimo <ilsimo>2007-03-25 21:20:20 +0000
committerilsimo <ilsimo>2007-03-25 21:20:20 +0000
commit6cbc09be53e8ee7c35cd3a281360412361ffc6ef (patch)
tree180953811c0d55e9e087660508485e989d59264d /sesman/sesman.c
parent5d29a7127bf08027d7c4b1f226505e2ee854fd3b (diff)
downloadxrdp-proprietary-6cbc09be53e8ee7c35cd3a281360412361ffc6ef.tar.gz
xrdp-proprietary-6cbc09be53e8ee7c35cd3a281360412361ffc6ef.zip
added ListenAddress configuration option
Diffstat (limited to 'sesman/sesman.c')
-rw-r--r--sesman/sesman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c
index b3f83f9c..b760a727 100644
--- a/sesman/sesman.c
+++ b/sesman/sesman.c
@@ -50,7 +50,7 @@ sesman_main_loop(void)
log_message(LOG_LEVEL_INFO, "listening...");
g_sck = g_tcp_socket();
g_tcp_set_non_blocking(g_sck);
- error = g_tcp_bind(g_sck, g_cfg.listen_port);
+ error = tcp_bind(g_sck, g_cfg.listen_address, g_cfg.listen_port);
if (error == 0)
{
error = g_tcp_listen(g_sck);