aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/session.h
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2018-10-30 12:49:22 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-11-02 11:16:38 +0100
commitde7405f1c710228c572609f7a3fa0e0cf779599d (patch)
tree7d7edde388441b4298f8fab3bcd6ddf296466905 /include/libssh/session.h
parent4a95a35bc6897fd0daa199f070a3a78879e7bfc4 (diff)
downloadlibssh-de7405f1c710228c572609f7a3fa0e0cf779599d.tar.gz
libssh-de7405f1c710228c572609f7a3fa0e0cf779599d.tar.xz
libssh-de7405f1c710228c572609f7a3fa0e0cf779599d.zip
config: Preserve the seen array among invocations
This follows the OpenSSH behavior of parsing subseqent configuration files, while applying only the first option. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r--include/libssh/session.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h
index 88be7ff3..c846dc47 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -220,6 +220,7 @@ struct ssh_session_struct {
int flags;
int nodelay;
bool config_processed;
+ uint8_t *options_seen;
} opts;
/* counters */
ssh_counter socket_counter;