diff options
| author | ilsimo <ilsimo> | 2007-03-25 21:20:20 +0000 |
|---|---|---|
| committer | ilsimo <ilsimo> | 2007-03-25 21:20:20 +0000 |
| commit | 6cbc09be53e8ee7c35cd3a281360412361ffc6ef (patch) | |
| tree | 180953811c0d55e9e087660508485e989d59264d /sesman/sesman.c | |
| parent | 5d29a7127bf08027d7c4b1f226505e2ee854fd3b (diff) | |
| download | xrdp-proprietary-6cbc09be53e8ee7c35cd3a281360412361ffc6ef.tar.gz xrdp-proprietary-6cbc09be53e8ee7c35cd3a281360412361ffc6ef.zip | |
added ListenAddress configuration option
Diffstat (limited to 'sesman/sesman.c')
| -rw-r--r-- | sesman/sesman.c | 2 |
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); |
