mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Combine code for SSH_CONNECTION and SSH_CLIENT
This commit is contained in:
@@ -51,10 +51,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;
|
||||
|
||||
/* These are only set temporarily before forking */
|
||||
/* Used to set $SSH_CONNECTION in the child session. */
|
||||
char *connection_string;
|
||||
/* Used to set $SSH_CLIENT in the child session. */
|
||||
char *client_string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user