This commit is contained in:
iFargle
2023-03-23 10:59:45 +09:00
parent 7005413e0c
commit c8f2589b2d

View File

@@ -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 ...