lf_icemod.pl: fixes connection logic

This commit is contained in:
Jed Reynolds
2020-12-17 20:48:31 -08:00
parent b43f6edb6d
commit 68a30d6bd2

View File

@@ -163,19 +163,10 @@ $t->waitfor("/btbits\>\>/");
my $dt = "";
my $utils = new LANforge::Utils();
$utils->telnet($t);
$utils->cli_send_silent(0); # Show input to CLI
if ($quiet & 0x1) {
$utils->cli_rcv_silent(1);
}
else {
$utils->cli_rcv_silent(0);
}
$utils->connect($lfmgr_host, $lfmgr_port);
# $utils->doCmd("log_level 63");
my $cmd;
$speed = "NA" if ($speed eq "");
$latency = "NA" if ($latency eq "");
$max_jitter = "NA" if ($max_jitter eq "");