openwrt / openwrt/packages

Nlbwmon bug in showing values.

Open
#21,017 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
4.6k
Forks
4k
Avg merge
3d 12h
Merged PRs (30d)
134

Description

Hi All,

after last update of nlbwmon on OpenWRT, it is showing incorrect values:

image

What i have managed to figure out it is adding number of bytes just before conversion to GiB which makes it unreadable. Previous months looks exactly the same.

I have this bug on both of routers I manage.

Can you Guys check if this is the same case for you?

Is there any fix i could apply to fix this?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the incorrect nlbwmon values described in the issue on an affected OpenWrt router and compare them with the expected byte-to-GiB conversion. Investigate where nlbwmon formats these values after the update; the work is done when displayed and historical values are accurate.

Written by the indexing model from the issue text.

Assessment

Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.