summaryrefslogtreecommitdiffhomepage
path: root/chansession.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2009-09-02 14:47:12 +0000
committerMatt Johnston <matt@ucc.asn.au>2009-09-02 14:47:12 +0000
commit4e9f22c6021ca908184e2e9437f9e56b436926a1 (patch)
treec37a074e1914c00b734910d288c75d2a9418b5a3 /chansession.h
parentf88bed7a30d4c327b42dcd28ce7642ba74dfe592 (diff)
- Set $SSH_CONNECTION
- Document environment variables in the manpage --HG-- extra : convert_revision : 1a93c6112f00730f5cd21a853d3bd5ca8079f725
Diffstat (limited to 'chansession.h')
-rw-r--r--chansession.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chansession.h b/chansession.h
index b9d1995..924518b 100644
--- a/chansession.h
+++ b/chansession.h
@@ -50,6 +50,10 @@ struct ChanSess {
/* 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;