mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Update integrationUISP.py
This commit is contained in:
@@ -250,7 +250,8 @@ def findNodesBranchedOffPtMP(siteList, dataLinks, sites):
|
|||||||
if ('parent' in site['identification']) and (site['identification']['parent'] is not None):
|
if ('parent' in site['identification']) and (site['identification']['parent'] is not None):
|
||||||
parent = site['identification']['parent']['id']
|
parent = site['identification']['parent']['id']
|
||||||
for link in dataLinks:
|
for link in dataLinks:
|
||||||
if link['to']['site']['identification'] is not None:
|
if ('identification' in link['to']['site']) and (link['to']['site']['identification'] is not None):
|
||||||
|
if ('identification' in link['from']['site']) and (link['from']['site']['identification'] is not None):
|
||||||
if link['from']['site']['identification']['id'] == parent:
|
if link['from']['site']['identification']['id'] == parent:
|
||||||
if link['to']['site']['identification']['id'] == id:
|
if link['to']['site']['identification']['id'] == id:
|
||||||
if link['from']['device']['overview']['wirelessMode'] == 'ap-ptmp':
|
if link['from']['device']['overview']['wirelessMode'] == 'ap-ptmp':
|
||||||
|
|||||||
Reference in New Issue
Block a user