Ludo', Welcome back :-)
Ludovic Courtès 写道:
I don’t get it: the ‘compression-level’ field defaults to 3, and OpenSSHdoes: static int start_compression_out(struct ssh *ssh, int level) { if (level < 1 || level > 9) return SSH_ERR_INVALID_ARGUMENT; debug("Enabling compression at level %d.", level); [...] } What’s wrong?
Exactly! ~/openssh-8.0p1 λ grep -r start_compression_out packet.c:start_compression_out(struct ssh *ssh, int level) packet.c: if ((r = start_compression_out(ssh, 6)) != 0) packet.c: if ((r = start_compression_out(ssh, 6)) != 0) Kind regards, T G-R
signature.asc
Description: PGP signature