Skip to content
Browse files

Correction bug

  • Loading branch information...
1 parent 446f404 commit e7e2fef2523946f69d097b836083ad3467de7126 @nicolargo committed Mar 31, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 iperfit.pl
View
4 iperfit.pl
@@ -24,7 +24,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#---------------------------------------------------------------------------------------------------------------------------------
my $program_name = "IperfiT.pl";
-my $program_version = "0.1";
+my $program_version = "0.2";
# Libraries
use Getopt::Std;
@@ -181,7 +181,7 @@ sub printmsg {
# Stop the Iperf server (using SSH)
printmsg "Stop the Iperf server\n";
-my $ssh_cmd_iperf_server_stop = "$ssh_cmd -f labo\@$server_ip $kill_cmd -9 iperf";
+my $ssh_cmd_iperf_server_stop = "$ssh_cmd -f $server_user\@$server_ip $kill_cmd -9 iperf";
printmsg $ssh_cmd_iperf_server_stop."\n";
$result = system($ssh_cmd_iperf_server_stop);
if ($result != 0) {

0 comments on commit e7e2fef

Please sign in to comment.
Something went wrong with that request. Please try again.