diff options
author | Ingela Anderton Andin <[email protected]> | 2014-09-17 17:09:24 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2014-09-24 16:57:54 +0200 |
commit | b98334b677be774d746037ab81e7e724bfeca5eb (patch) | |
tree | 9723ea6bfdddacfed904091bfa6ba44875bfacbd /lib/ssh/src/ssh_connect.hrl | |
parent | 743ed31108ee555db18d9833186865e85e34333e (diff) | |
download | otp-b98334b677be774d746037ab81e7e724bfeca5eb.tar.gz otp-b98334b677be774d746037ab81e7e724bfeca5eb.tar.bz2 otp-b98334b677be774d746037ab81e7e724bfeca5eb.zip |
ssh: Gracefully handle incorrect versions
Conflicts:
lib/ssh/test/ssh_connection_SUITE.erl
Diffstat (limited to 'lib/ssh/src/ssh_connect.hrl')
-rw-r--r-- | lib/ssh/src/ssh_connect.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_connect.hrl b/lib/ssh/src/ssh_connect.hrl index 8421b07167..9307dbbad0 100644 --- a/lib/ssh/src/ssh_connect.hrl +++ b/lib/ssh/src/ssh_connect.hrl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2005-2013. All Rights Reserved. +%% Copyright Ericsson AB 2005-2014. All Rights Reserved. %% %% The contents of this file are subject to the Erlang Public License, %% Version 1.1, (the "License"); you may not use this file except in @@ -26,6 +26,7 @@ -define(DEFAULT_PACKET_SIZE, 32768). -define(DEFAULT_WINDOW_SIZE, 2*?DEFAULT_PACKET_SIZE). -define(DEFAULT_TIMEOUT, 5000). +-define(MAX_PROTO_VERSION, 255). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% |