diff chansession.h @ 972:eb5cb4f45cd6

Add SSH_CLIENT environment variable
author Ryan Cleere <ryan.cleere@rackspace.com>
date Mon, 20 Oct 2014 12:59:47 -0500
parents 0bb16232e7c4
children 7c9377467934
line wrap: on
line diff
--- a/chansession.h	Tue Aug 19 23:08:56 2014 +0800
+++ b/chansession.h	Mon Oct 20 12:59:47 2014 -0500
@@ -54,6 +54,9 @@
 	/* Used to set $SSH_CONNECTION in the child session. 
 	Is only set temporarily before forking */
 	char *connection_string;
+
+	/* Used to set $SSH_CLIENT in the child session. */
+	char *client_string;
 	
 #ifndef DISABLE_X11FWD
 	struct Listener * x11listener;