diff options
author | Ermal <eri@pfsense.org> | 2010-04-02 15:28:29 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-02 15:28:29 +0000 |
commit | 3f115d0ed3b957d92a6708b02f4c839f93da0b98 (patch) | |
tree | bffd15b7527d3c6b613fb7647be3c34ca856abe7 /etc/inc/shaper.inc | |
parent | d41e63b6ee2d7b0dbef64f3facc75d417573e622 (diff) | |
download | pfsense-3f115d0ed3b957d92a6708b02f4c839f93da0b98.zip pfsense-3f115d0ed3b957d92a6708b02f4c839f93da0b98.tar.gz |
Use ipfw for deleting unused pipes too.
Diffstat (limited to 'etc/inc/shaper.inc')
-rw-r--r-- | etc/inc/shaper.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 0b3da69..313d868 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -2730,7 +2730,6 @@ class dummynet_class { } class dnpipe_class extends dummynet_class { - var $pipe_nr; var $delay; var $qbandwidth; var $qbandwidthtype; @@ -2758,6 +2757,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()); } function GetBandwidth() { return $this->qbandwidth; @@ -3058,6 +3058,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()); } function validate_input($data, &$input_errors) { |