Revision ab824cde
Added by Jim Pingle about 9 years ago
src/etc/inc/shaper.inc | ||
---|---|---|
251 | 251 |
function get_interface_bandwidth($object) { |
252 | 252 |
global $altq_list_queues; |
253 | 253 |
|
254 |
if (!$object) { |
|
255 |
return 0; |
|
256 |
} |
|
257 |
|
|
254 | 258 |
$int = $object->GetInterface(); |
255 | 259 |
$altq =& $altq_list_queues[$int]; |
256 | 260 |
if ($altq) { |
Also available in: Unified diff
Band-aid to stop this from breaking the firewall. Ticket #5721