Remove useless comment, no logic change

Now client addr and port are properly logged.
master
Koichiro IWAO 8 years ago committed by metalefty
parent 3f14559822
commit 08ba9ed4a8

@ -882,9 +882,7 @@ xrdp_rdp_incoming(struct xrdp_rdp *self)
g_strncpy(self->client_info.client_port, iso->trans->port, g_strncpy(self->client_info.client_port, iso->trans->port,
sizeof(self->client_info.client_port) - 1); sizeof(self->client_info.client_port) - 1);
/* log TLS version and cipher when TLS is used */ /* log TLS version and cipher of TLS connections */
/* TODO: client_addr, client_port is empty when IPv6 enabled */
if (iso->selectedProtocol > PROTOCOL_RDP) if (iso->selectedProtocol > PROTOCOL_RDP)
{ {
log_message(LOG_LEVEL_INFO, log_message(LOG_LEVEL_INFO,
@ -894,6 +892,7 @@ xrdp_rdp_incoming(struct xrdp_rdp *self)
iso->trans->ssl_protocol, iso->trans->ssl_protocol,
iso->trans->cipher_name); iso->trans->cipher_name);
} }
/* log non-TLS connections */
else else
{ {
log_message(LOG_LEVEL_INFO, log_message(LOG_LEVEL_INFO,

Loading…
Cancel
Save