diff options
author | Matt Johnston <matt@ucc.asn.au> | 2009-09-11 14:02:04 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2009-09-11 14:02:04 +0000 |
commit | e3ca0513a08bd3cab28df0944aa82da2922e367d (patch) | |
tree | 32fac8407f49d4549fc0fffb7b3745c7f67e4f04 /common-algo.c | |
parent | 95a01f9002a4367e4465aa9cfe9d1ade270ab9a4 (diff) |
- Disable compression for non-final multihops
--HG--
extra : convert_revision : c507a2aacb9e0db4c0266891b8915c614e32857e
Diffstat (limited to 'common-algo.c')
-rw-r--r-- | common-algo.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/common-algo.c b/common-algo.c index 892399f..7d694d2 100644 --- a/common-algo.c +++ b/common-algo.c @@ -168,11 +168,16 @@ algo_type sshhashes[] = { {NULL, 0, NULL, 0, NULL} }; -algo_type sshcompress[] = { #ifndef DISABLE_ZLIB +algo_type ssh_compress[] = { {"zlib", DROPBEAR_COMP_ZLIB, NULL, 1, NULL}, {"zlib@openssh.com", DROPBEAR_COMP_ZLIB_DELAY, NULL, 1, NULL}, + {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, + {NULL, 0, NULL, 0, NULL} +}; #endif + +algo_type ssh_nocompress[] = { {"none", DROPBEAR_COMP_NONE, NULL, 1, NULL}, {NULL, 0, NULL, 0, NULL} }; |