diff options
author | Ermal <eri@pfsense.org> | 2014-04-28 12:36:36 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-28 12:36:36 +0000 |
commit | f2c34876ab8ed79e1d3f71d6531d164326a30e16 (patch) | |
tree | 4b5ff4c70ee978f290bacdca40f3db2ed0dd820d /etc/inc | |
parent | fb0c2bd61be7d97a5c0ab350da4c2dc70265d5fe (diff) | |
download | pfsense-f2c34876ab8ed79e1d3f71d6531d164326a30e16.zip pfsense-f2c34876ab8ed79e1d3f71d6531d164326a30e16.tar.gz |
Use php module calls here to speedup things
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 3a605eb..222e335 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -2970,7 +2970,7 @@ class dnpipe_class extends dummynet_class { foreach ($this->subqueues as $q) $q->delete_queue(); unset_dn_object_by_reference($this->GetLink()); - mwexec("/sbin/ipfw pipe delete " . $this->GetNumber()); + @pfSense_pipe_action("pipe delete " . $this->GetNumber()); } function GetBandwidth() { return $this->qbandwidth; @@ -3514,7 +3514,7 @@ class dnqueue_class extends dummynet_class { function delete_queue() { cleanup_dnqueue_from_rules($this->GetQname()); unset_dn_object_by_reference($this->GetLink()); - mwexec("/sbin/ipfw queue delete " . $this->GetNumber()); + @pfSense_pipe_action("queue delete " . $this->GetNumber()); } function validate_input($data, &$input_errors) { |