mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-03-18 21:05:30 +01:00
test
This commit is contained in:
@@ -310,7 +310,7 @@ def thread_machine_content(machine, machine_content, idx, all_routes):
|
||||
if route_info["id"] != route["id"]:
|
||||
ha_enabled = False
|
||||
app.logger.info("HA pair found: %s", str(route["prefix"]))
|
||||
failover_pair_prefixes = str(route["prefix"])
|
||||
failover_pair_prefixes.append(str(route["prefix"]))
|
||||
if route["enabled"]:
|
||||
ha_enabled = True
|
||||
if route["prefix"] != "0.0.0.0/0" and route["prefix"] != "::/0" and route["prefix"] in failover_pair_prefixes:
|
||||
|
||||
Reference in New Issue
Block a user