mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 18:55:29 +01:00
test
This commit is contained in:
@@ -250,13 +250,12 @@ def thread_machine_content(machine, machine_content, idx, all_routes):
|
||||
routes = ""
|
||||
|
||||
# Test if the machine is an exit node:
|
||||
exit_node = False
|
||||
exit_enabled = False
|
||||
# If the length of "routes" is NULL/0, there are no routes, enabled or disabled:
|
||||
if len(pulled_routes["routes"]) > 0:
|
||||
advertised_and_enabled = False
|
||||
advertised_route = False
|
||||
failover_route = False
|
||||
exit_enabled = False
|
||||
|
||||
# First, check if there are any routes that are both enabled and advertised
|
||||
for route in pulled_routes["routes"]:
|
||||
|
||||
Reference in New Issue
Block a user