mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-26 02:00:15 -06:00
Fix bandwidth in cases where clients are directly connected to site
ensure a solid "rate" to prevent low priority in cases where clients are directly connected to top level Parent Nodes
This commit is contained in:
parent
668441a624
commit
0b45471dce
@ -239,6 +239,9 @@ def createShaper():
|
||||
if AP == 'none':
|
||||
try:
|
||||
AP = siteIDtoName[uispClientSite['identification']['parent']['id']]
|
||||
# We have to ensure a solid "rate" to prevent low priority in cases where clients are directly connected to top level Parent Nodes
|
||||
minSpeedDown = round(maxSpeedDown*.95)
|
||||
minSpeedUp = round(maxSpeedDown*.95)
|
||||
except:
|
||||
AP = 'none'
|
||||
devicesToImport.append((uispClientSiteID, address, '', deviceName, AP, deviceMAC, ipv4, ipv6, str(minSpeedDown), str(minSpeedUp), str(maxSpeedDown),str(maxSpeedUp),''))
|
||||
|
Loading…
Reference in New Issue
Block a user