Skip to content

Commit

Permalink
Fixed vendor parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson442 committed Feb 16, 2020
1 parent 8af834d commit 529fb9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom-build-1312.sh
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ if [ "$stats" != "${stats#[Yy]}" ] ;then
cd $bcmdir/bcm963xx_router/targets/fs.src/etc/
patch < $customdir/stats-staging/stats-profile.patch

customversion+="-stats"
customversion+="-stats1.1"

echo "Stats logging and webserver enabled"
fi
Expand Down
1 change: 1 addition & 0 deletions stats-staging/stats-server/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ <h3>Link Uptime</h3>
var vendorLine = 0;
while(split[vendorLine].match(/\S+/g)[0] != "ChipSet"){
vendorLine++;
if(!split[vendorLine]) vendorLine++;
}

var provider = split[vendorLine].match(/\S+/g)[3].split(":")[0];
Expand Down

0 comments on commit 529fb9a

Please sign in to comment.