mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-01-06 04:33:58 +01:00
test
This commit is contained in:
@@ -309,6 +309,7 @@ def thread_machine_content(machine, machine_content, idx, all_routes, failover_p
|
||||
for route in pulled_routes["routes"]:
|
||||
# ... against all routes from all machines ....
|
||||
for route_info in all_routes["routes"]:
|
||||
app.logger.debug("Comparing routes %s and %s", str(route["prefix"]), str(route_info["prefix"]))
|
||||
# ... If the route prefixes match and are not exit nodes ...
|
||||
if str(route_info["prefix"]) == str(route["prefix"]) and (route["prefix"] != "0.0.0.0/0" and route["prefix"] != "::/0"):
|
||||
# Check if the route ID's match. If they don't ...
|
||||
|
||||
Reference in New Issue
Block a user