diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-14 21:33:35 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-14 21:33:35 +0000 |
commit | 7f6afb290f9bd539e13225d0de86e7eb3174bc5a (patch) | |
tree | e977e732d15f1ce6b66fa572db83d2ccf36b4601 /etc/inc | |
parent | 6d7de776deb97fa60a0d75c03b27a931d20c4d08 (diff) | |
download | pfsense-7f6afb290f9bd539e13225d0de86e7eb3174bc5a.zip pfsense-7f6afb290f9bd539e13225d0de86e7eb3174bc5a.tar.gz |
Unbreak traffic shaper rules creation.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index 813ef5d..c4f4213 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -473,7 +473,7 @@ class altq_root_queue { */ function build_rules() { if (count($this->queues) > 0 && $this->GetEnabled()) { - $rules = " altq on " . convert_friendly_interface_to_real_interface_name($this->GetInterface()); + $rules = " altq on " . get_real_wan_interface($this->GetInterface()); if ($this->GetScheduler()) $rules .= " ".strtolower($this->GetScheduler()); if ($this->GetBandwidth()) @@ -951,7 +951,7 @@ function GetEcn() { function build_rules() { $pfq_rule = " queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".convert_friendly_interface_to_real_interface_name($this->GetInterface()); + $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); if ($this->GetQpriority()) $pfq_rule .= " priority ".$this->GetQpriority(); if ($this->GetQlimit()) @@ -1526,7 +1526,7 @@ class hfsc_queue extends priq_queue { $pfq_rule = " queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".convert_friendly_interface_to_real_interface_name($this->GetInterface()); + $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); @@ -1980,7 +1980,7 @@ class cbq_queue extends priq_queue { function build_rules() { $pfq_rule = "queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".convert_friendly_interface_to_real_interface_name($this->GetInterface()); + $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); if ($this->GetQpriority()) @@ -2224,7 +2224,7 @@ class fairq_queue extends priq_queue { function build_rules() { $pfq_rule = "queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".convert_friendly_interface_to_real_interface_name($this->GetInterface()); + $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); if ($this->GetQpriority()) |