Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix stale bandwidth-by-IP table entries #469

Merged
merged 1 commit into from Mar 7, 2013
Merged

Fix stale bandwidth-by-IP table entries #469

merged 1 commit into from Mar 7, 2013

Conversation

phil-davis
Copy link
Contributor

When the number of valid rows in the table reduced by more than 1 between updates, stale entries were left displayed at the end - e.g. 8 rows (0-7), then next update has only 5 rows (0-4). Row 5 is hidden but rows 6 and 7 remain displayed.
This "feature" looks like it has been around ever since this module was first added.
Should fix http://forum.pfsense.org/index.php/topic,59714.msg321414.html#msg321414
The functional change is making a single "if" test at line 156/157 and the removed "}" at 181. The rest of the diff listing is just changes due to code indenting.

When the number of valid rows in the table reduced by more than 1 between updates, stale entries were left displayed at the end - e.g. 8 rows (0-7), then next update has only 5 rows (0-4). Row 5 is hidden but rows 6 and 7 remain displayed.
jim-p added a commit that referenced this pull request Mar 7, 2013
Fix stale bandwidth-by-IP table entries
@jim-p jim-p merged commit c988ed0 into pfsense:master Mar 7, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants