mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 01:42:37 +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 $dt = "";
|
||||||
|
|
||||||
my $utils = new LANforge::Utils();
|
my $utils = new LANforge::Utils();
|
||||||
$utils->telnet($t);
|
$utils->connect($lfmgr_host, $lfmgr_port);
|
||||||
$utils->cli_send_silent(0); # Show input to CLI
|
|
||||||
if ($quiet & 0x1) {
|
|
||||||
$utils->cli_rcv_silent(1);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$utils->cli_rcv_silent(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
# $utils->doCmd("log_level 63");
|
|
||||||
my $cmd;
|
my $cmd;
|
||||||
|
|
||||||
|
|
||||||
$speed = "NA" if ($speed eq "");
|
$speed = "NA" if ($speed eq "");
|
||||||
$latency = "NA" if ($latency eq "");
|
$latency = "NA" if ($latency eq "");
|
||||||
$max_jitter = "NA" if ($max_jitter eq "");
|
$max_jitter = "NA" if ($max_jitter eq "");
|
||||||
|
|||||||
Reference in New Issue
Block a user