diff options
author | Hans Nilsson <[email protected]> | 2018-06-20 12:46:26 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-06-20 12:46:26 +0200 |
commit | fef7ad89ab1802114f9c69709a1227fac92aa6a0 (patch) | |
tree | 995b7289a5dbe7e157d66e33e4391cb60756f00a | |
parent | db6059a9217767a6e42e93cec05089c0ec977d20 (diff) | |
download | otp-fef7ad89ab1802114f9c69709a1227fac92aa6a0.tar.gz otp-fef7ad89ab1802114f9c69709a1227fac92aa6a0.tar.bz2 otp-fef7ad89ab1802114f9c69709a1227fac92aa6a0.zip |
ssh: Fix ssh_xfer decode_ATTR error for Vsn=4
-rw-r--r-- | lib/ssh/src/ssh_xfer.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_xfer.erl b/lib/ssh/src/ssh_xfer.erl index e1680c120e..7bb9c2d101 100644 --- a/lib/ssh/src/ssh_xfer.erl +++ b/lib/ssh/src/ssh_xfer.erl @@ -734,7 +734,7 @@ decode_ATTR(Vsn, <<?UINT32(Flags), Tail/binary>>) -> {Type,Tail2} = if Vsn =< 3 -> {?SSH_FILEXFER_TYPE_UNKNOWN, Tail}; - Vsn >= 5 -> + true -> <<?BYTE(T), TL/binary>> = Tail, {T, TL} end, |