mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-28 17:32:35 +00:00
lf_icemod.pl: fixes connection logic
This commit is contained in:
11
lf_icemod.pl
11
lf_icemod.pl
@@ -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 "");
|
||||
|
||||
Reference in New Issue
Block a user