mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-31 18:58:01 +00:00
portmod: Fix syntax error in previous commit.
This commit is contained in:
@@ -388,7 +388,7 @@ elsif((defined $show_port) && ("$show_port" ne "")) {
|
|||||||
my $i;
|
my $i;
|
||||||
my @lines = ();
|
my @lines = ();
|
||||||
if ($stats_from_file ne "") {
|
if ($stats_from_file ne "") {
|
||||||
@lines = get_stats_from_file($stats_from_file, 1, $card, $port_name);
|
@lines = split("\n", get_stats_from_file($stats_from_file, 1, $card, $port_name));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@lines = split("\n", $utils->doAsyncCmd("nc_show_port 1 $card $port_name"));
|
@lines = split("\n", $utils->doAsyncCmd("nc_show_port 1 $card $port_name"));
|
||||||
|
|||||||
Reference in New Issue
Block a user