server: proxy: print server host ip on new conn (for clustering info)

This commit is contained in:
Kobi Mizrachi 2020-05-20 10:36:42 +03:00
parent 8d72051ab1
commit 6269243091
1 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,8 @@ static DWORD WINAPI pf_server_handle_peer(LPVOID arg)
pdata = ps->pdata;
client->Initialize(client);
LOG_INFO(TAG, ps, "peer connected: %s", client->hostname);
LOG_INFO(TAG, ps, "new connection: proxy address: %s, client address: %s", pdata->config->Host,
client->hostname);
/* Main client event handling loop */
ChannelEvent = WTSVirtualChannelManagerGetEventHandle(ps->vcm);