mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-21 20:45:06 +00:00
wifi-diag: Normalize whitespace.
Some of Jed's changes had some funky whitespace. Back to xemacs standards.
This commit is contained in:
@@ -20,12 +20,10 @@ use lib '/home/lanforge/scripts';
|
|||||||
if ( $cwd =~ q(.*LANforge-Server\scripts$)) {
|
if ( $cwd =~ q(.*LANforge-Server\scripts$)) {
|
||||||
use lib '/home/lanforge/scripts/LANforge';
|
use lib '/home/lanforge/scripts/LANforge';
|
||||||
use lib '/home/lanforge/scripts/wifi_diag';
|
use lib '/home/lanforge/scripts/wifi_diag';
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
if ( -d "wifi_diag" ) {
|
if ( -d "wifi_diag" ) {
|
||||||
use lib '.';
|
use lib '.';
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
use lib '.';
|
use lib '.';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -88,7 +86,7 @@ View {report-prefix}/index.html for the report, and {report-prefix}/foo.txt for
|
|||||||
|
|
||||||
|
|
||||||
GetOptions
|
GetOptions
|
||||||
(
|
(
|
||||||
'help|h' => \$show_help,
|
'help|h' => \$show_help,
|
||||||
'dut=s' => \$dut,
|
'dut=s' => \$dut,
|
||||||
'report_prefix=s' => \$::report_prefix,
|
'report_prefix=s' => \$::report_prefix,
|
||||||
@@ -185,8 +183,7 @@ while (<>) {
|
|||||||
}
|
}
|
||||||
$cur_pkt = Packet->new(frame_num => $1,
|
$cur_pkt = Packet->new(frame_num => $1,
|
||||||
raw_pkt => $ln);
|
raw_pkt => $ln);
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$cur_pkt->append($ln);
|
$cur_pkt->append($ln);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user