Skip Menu |

This queue is for tickets about the junoscript-perl CPAN distribution.

Report information
The Basics
Id: 63002
Status: new
Priority: 0/
Queue: junoscript-perl

People
Owner: Nobody in particular
Requestors: CRAKRJACK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.4I0
Fixed in: (no value)



Subject: JUNOS::Access::ssh compression flag is incorrect
Net::SSH::Perl requires a true or false value for the "compression" flag (see http://search.cpan.org/~turnstep/Net-SSH-Perl-1.34/lib/Net/SSH/Perl.pm), not "yes or no", so JUNOS::Access::ssh is always enabling compression. The attached patch should fix this.
Subject: junos-ssh.diff
--- old/JUNOS/Access/ssh.pm 2003-03-02 03:12:10.000000000 -0800 +++ new/JUNOS/Access/ssh.pm 2010-11-15 10:14:36.000000000 -0800 @@ -66,7 +66,7 @@ port => $rport || 22, interactive => $self->{'ssh-interactive'}, compression => (defined $self->{'ssh-compress'} && - !$self->{'ssh-compress'}) ? 'no' : 'yes', + !$self->{'ssh-compress'}) ? 0 : 1, options => [ ForwardX11 => 'no' ]) || return;