[config,firewall_new] Traffic shapping 500Mbps la nuit, et on y desactive la QoS
Ignore-this: 288c69f8f9940d07ba746b05f2684acd darcs-hash:20121122171309-3a55a-707b62cd0abd11aec893159de19b92bb50145f78.gz
This commit is contained in:
parent
d0d3a74510
commit
b9d816072a
2 changed files with 12 additions and 1 deletions
|
@ -643,6 +643,10 @@ class firewall_komaz(firewall_crans) :
|
|||
if len(self.adherents) == 0 :
|
||||
self.mangle_table()
|
||||
|
||||
# On desactive la QoS lorsque le debit augmente
|
||||
if not conf_fw.debit_jour:
|
||||
return
|
||||
|
||||
# Parametres pour iptables/tc
|
||||
mark = conf_fw.mark['bittorrent']
|
||||
debit_max = conf_fw.debit_max
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue