mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Merge remote-tracking branch 'origin/develop' into in_progress_do_not_run
This commit is contained in:
@@ -885,10 +885,10 @@ def refreshShapers():
|
||||
# Generate TC commands to be executed later
|
||||
tcComment = " # CircuitID: " + circuit['circuitID'] + " DeviceIDs: "
|
||||
for device in circuit['devices']:
|
||||
tcComment = tcComment + device['deviceID'] + ', '
|
||||
tcComment = '' #tcComment + device['deviceID'] + ', '
|
||||
if 'devices' in circuit:
|
||||
if 'comment' in circuit['devices'][0]:
|
||||
tcComment = tcComment + '| Comment: ' + circuit['devices'][0]['comment']
|
||||
tcComment = '' # tcComment + '| Comment: ' + circuit['devices'][0]['comment']
|
||||
tcComment = tcComment.replace("\n", "")
|
||||
command = 'class add dev ' + interface_a() + ' parent ' + data[node]['classid'] + ' classid ' + circuit['classMinor'] + ' htb rate '+ str(circuit['minDownload']) + 'mbit ceil '+ str(circuit['maxDownload']) + 'mbit prio 3' + quantum(circuit['maxDownload']) + tcComment
|
||||
linuxTCcommands.append(command)
|
||||
|
||||
Reference in New Issue
Block a user