diff options
Diffstat (limited to 'etc/inc/shaper.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 6fdf7a1..7e678cb 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -513,7 +513,7 @@ class altq_root_queue { */ function build_rules() { if (count($this->queues) > 0 && $this->GetEnabled()) { - $rules = " altq on " . get_real_wan_interface($this->GetInterface()); + $rules = " altq on " . get_real_interface($this->GetInterface()); if ($this->GetScheduler()) $rules .= " ".strtolower($this->GetScheduler()); if ($this->GetBandwidth()) @@ -991,7 +991,7 @@ function GetEcn() { function build_rules() { $pfq_rule = " queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); + $pfq_rule .= " on ".get_real_interface($this->GetInterface()); if ($this->GetQpriority()) $pfq_rule .= " priority ".$this->GetQpriority(); if ($this->GetQlimit()) @@ -1566,7 +1566,7 @@ class hfsc_queue extends priq_queue { $pfq_rule = " queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); + $pfq_rule .= " on ".get_real_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); @@ -2020,7 +2020,7 @@ class cbq_queue extends priq_queue { function build_rules() { $pfq_rule = "queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); + $pfq_rule .= " on ".get_real_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); if ($this->GetQpriority()) @@ -2264,7 +2264,7 @@ class fairq_queue extends priq_queue { function build_rules() { $pfq_rule = "queue ". $this->qname; if ($this->GetInterface()) - $pfq_rule .= " on ".get_real_wan_interface($this->GetInterface()); + $pfq_rule .= " on ".get_real_interface($this->GetInterface()); if ($this->GetBandwidth() && $this->GetBwscale()) $pfq_rule .= " bandwidth ".trim($this->GetBandwidth()).$this->GetBwscale(); if ($this->GetQpriority()) |