diff options
-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) { |