This commit is contained in:
Tagadda 2022-10-24 22:25:09 +00:00 committed by Tagada
parent 1a07839b5f
commit e82849492b

View file

@ -120,7 +120,7 @@ class MyDiagnoser(Diagnoser):
return local_ip
def is_ipvx_important(x):
return settings_get("misc.network.dns_exposure") == "both" or "ipv"+str(x)
return settings_get("misc.network.dns_exposure") in ["both", "ipv"+str(x)]
yield dict(
meta={"test": "ipv4"},