mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-25 01:30:17 -06:00
Update integrationSplynx.py
This commit is contained in:
parent
15f3187549
commit
1ecaba84f0
@ -164,10 +164,9 @@ def createShaper():
|
||||
if router_id in sectorForRouter:
|
||||
for sector in sectorForRouter[router_id]:
|
||||
if sector['router_id'] == router_id:
|
||||
download = 1000
|
||||
upload = 1000
|
||||
download = max(round(int(sector['speed_down']) / 1000), 2)
|
||||
upload = max(round(int(sector['speed_up']) / 1000), 2)
|
||||
|
||||
sectorName = nameForRouterID[router_id] + "_" + sector['title']
|
||||
if sectorName in siteBandwidth:
|
||||
# Use the CSV bandwidth values
|
||||
|
Loading…
Reference in New Issue
Block a user