summaryrefslogtreecommitdiffstats
path: root/libxrdp
diff options
context:
space:
mode:
authorKoichiro IWAO <meta@vmeta.jp>2017-03-08 12:57:19 +0900
committermetalefty <meta@vmeta.jp>2017-03-09 15:42:14 +0900
commit08ba9ed4a8afb8bc30a781af96bc5e9cbc547f62 (patch)
tree7c25e1f7e2d1c32d04e02dd6a7e3bee94fcac3ab /libxrdp
parent3f14559822548b1ce822bb842fc79fa833d3b3a5 (diff)
downloadxrdp-proprietary-08ba9ed4a8afb8bc30a781af96bc5e9cbc547f62.tar.gz
xrdp-proprietary-08ba9ed4a8afb8bc30a781af96bc5e9cbc547f62.zip
Remove useless comment, no logic change
Now client addr and port are properly logged.
Diffstat (limited to 'libxrdp')
-rw-r--r--libxrdp/xrdp_rdp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index c43d8ca7..021e7932 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -882,9 +882,7 @@ xrdp_rdp_incoming(struct xrdp_rdp *self)
g_strncpy(self->client_info.client_port, iso->trans->port,
sizeof(self->client_info.client_port) - 1);
- /* log TLS version and cipher when TLS is used */
- /* TODO: client_addr, client_port is empty when IPv6 enabled */
-
+ /* log TLS version and cipher of TLS connections */
if (iso->selectedProtocol > PROTOCOL_RDP)
{
log_message(LOG_LEVEL_INFO,
@@ -894,6 +892,7 @@ xrdp_rdp_incoming(struct xrdp_rdp *self)
iso->trans->ssl_protocol,
iso->trans->cipher_name);
}
+ /* log non-TLS connections */
else
{
log_message(LOG_LEVEL_INFO,