From 08ba9ed4a8afb8bc30a781af96bc5e9cbc547f62 Mon Sep 17 00:00:00 2001 From: Koichiro IWAO Date: Wed, 8 Mar 2017 12:57:19 +0900 Subject: [PATCH] Remove useless comment, no logic change Now client addr and port are properly logged. --- libxrdp/xrdp_rdp.c | 5 ++--- 1 file 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,