Bug #6300
closedstatus_queues.php can cause php errors when queues are on disconnected interfaces
0%
Description
I set up a bridge with 3 interfaces and put HFSC queues on each interface. With the two 'internal' interfaces disconnected trying to view the queue status generates this error:
[02-May-2016 17:33:28 Europe/London] PHP Warning: Division by zero in /usr/local/www/status_queues.php on line 125
[02-May-2016 17:33:28 Europe/London] PHP Stack trace:
[02-May-2016 17:33:28 Europe/London] PHP 1. {main}() /usr/local/www/status_queues.php:0
That is removed by this patch: http://files.atx.pfsense.org/jimp/patches/queuestat_div0_fix.patch
The page can then be displayed without error or delay but appears to be counting stats incorrectly. See attached screenshot in which LANBRIDGE1 and LANBRIDGE2 are disconnected.
Files
Updated by Chris Buechler about 9 years ago
- Status changed from New to Duplicate
- Affected Version deleted (
2.3) - Affected Architecture added
- Affected Architecture deleted (
amd64)
didn't notice this, I duplicated it in #6329. it was fixed there