summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_rdp.c
diff options
context:
space:
mode:
authorNicola Ruggero <nicola@nxnt.org>2010-11-04 12:14:03 +0100
committerNicola Ruggero <nicola@nxnt.org>2010-11-04 12:14:03 +0100
commitd797b2cf497587355bbf25cd27d59edd1c3f2915 (patch)
tree8a706ce33714460c948c7d7d762e7b5ece23dec1 /libxrdp/xrdp_rdp.c
parent87297c5014695da08815fca9c410505237162f24 (diff)
downloadxrdp-proprietary-d797b2cf497587355bbf25cd27d59edd1c3f2915.tar.gz
xrdp-proprietary-d797b2cf497587355bbf25cd27d59edd1c3f2915.zip
Implemented client IP logging
Diffstat (limited to 'libxrdp/xrdp_rdp.c')
-rw-r--r--libxrdp/xrdp_rdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libxrdp/xrdp_rdp.c b/libxrdp/xrdp_rdp.c
index 686e567c..fa833765 100644
--- a/libxrdp/xrdp_rdp.c
+++ b/libxrdp/xrdp_rdp.c
@@ -145,6 +145,7 @@ xrdp_rdp_create(struct xrdp_session* session, struct trans* trans)
self->client_info.cache2_size = 1024;
self->client_info.cache3_entries = 262;
self->client_info.cache3_size = 4096;
+ g_write_ip_address(trans->sck, self->client_info.client_ip); /* load client ip info */
DEBUG(("out xrdp_rdp_create"));
return self;
}