Revision f2c34876
Added by Ermal LUÇI over 11 years ago
etc/inc/shaper.inc | ||
---|---|---|
2970 | 2970 |
foreach ($this->subqueues as $q) |
2971 | 2971 |
$q->delete_queue(); |
2972 | 2972 |
unset_dn_object_by_reference($this->GetLink()); |
2973 |
mwexec("/sbin/ipfw pipe delete " . $this->GetNumber());
|
|
2973 |
@pfSense_pipe_action("pipe delete " . $this->GetNumber());
|
|
2974 | 2974 |
} |
2975 | 2975 |
function GetBandwidth() { |
2976 | 2976 |
return $this->qbandwidth; |
... | ... | |
3514 | 3514 |
function delete_queue() { |
3515 | 3515 |
cleanup_dnqueue_from_rules($this->GetQname()); |
3516 | 3516 |
unset_dn_object_by_reference($this->GetLink()); |
3517 |
mwexec("/sbin/ipfw queue delete " . $this->GetNumber());
|
|
3517 |
@pfSense_pipe_action("queue delete " . $this->GetNumber());
|
|
3518 | 3518 |
} |
3519 | 3519 |
|
3520 | 3520 |
function validate_input($data, &$input_errors) { |
Also available in: Unified diff
Use php module calls here to speedup things