diff chansession.h @ 569:6f472dc54da7

- Set $SSH_CONNECTION - Document environment variables in the manpage
author Matt Johnston <matt@ucc.asn.au>
date Wed, 02 Sep 2009 14:47:12 +0000
parents 52d7301e46bd
children 818108bf7749
line wrap: on
line diff
--- a/chansession.h	Tue Sep 01 16:38:26 2009 +0000
+++ b/chansession.h	Wed Sep 02 14:47:12 2009 +0000
@@ -50,6 +50,10 @@
 
 	/* exit details */
 	struct exitinfo exit;
+
+	/* Used to set $SSH_CONNECTION in the child session. 
+	Is only set temporarily before forking */
+	char *connection_string;
 	
 #ifndef DISABLE_X11FWD
 	struct Listener * x11listener;