Revision a330a2da
Added by Viktor Gurov over 4 years ago
src/etc/inc/shaper.inc | ||
---|---|---|
1557 | 1557 |
function find_parentqueue($interface, $qname) { return; } |
1558 | 1558 |
|
1559 | 1559 |
function validate_input($data, &$input_errors) { |
1560 |
global $altq_list_queues; |
|
1560 | 1561 |
|
1561 | 1562 |
$reqdfields[] = "name"; |
1562 | 1563 |
$reqdfieldsn[] = gettext("Name"); |
1563 | 1564 |
shaper_do_input_validation($data, $reqdfields, $reqdfieldsn, $input_errors); |
1564 |
$parent = $this->GetParent();
|
|
1565 |
$parent = $altq_list_queues[$this->GetInterface()];
|
|
1565 | 1566 |
|
1566 | 1567 |
if ($data['bandwidth'] && !is_numeric($data['bandwidth'])) { |
1567 | 1568 |
$input_errors[] = gettext("Bandwidth must be an integer."); |
Also available in: Unified diff
Nested queues input validatin fix. Issue #10998