mirror of
https://github.com/iFargle/headscale-webui.git
synced 2026-01-06 04:33:58 +01:00
test
This commit is contained in:
@@ -765,7 +765,7 @@ def render_routes():
|
||||
# Get a list of all prefixes for all routes...
|
||||
for route_check in all_routes["routes"]:
|
||||
# ... that aren't exit routes...
|
||||
if route["prefix"] !="0.0.0.0/0" and route["prefix"] !="::/0":
|
||||
if route["prefix"] !="0.0.0.0/0" and route["prefix"] != "::/0":
|
||||
# if the curren route matches any prefix of any other route...
|
||||
if route["prefix"] == route_check["prefix"]:
|
||||
# and the route ID's are different ...
|
||||
|
||||
Reference in New Issue
Block a user