Skip to content

Commit

Permalink
fix for vlan
Browse files Browse the repository at this point in the history
  • Loading branch information
LoV432 committed Mar 7, 2024
1 parent f7eaf63 commit f645ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get-speed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function formatSpeedOutput(speed: string) {

for (let i = 1; i < lines.length; i++) {
const columns = lines[i].split('\t');
if (!columns.includes('br-lan')) continue;
if (!columns[2].match('br-lan')) continue;
const rowData: { [key: string]: string } = {};

for (let j = 0; j < headers.length; j++) {
Expand Down

0 comments on commit f645ba8

Please sign in to comment.