mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Apply suggestions from code review
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
95f98a9c68
commit
e00d60b049
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class MyDiagnoser(Diagnoser):
|
||||||
for record in dnsrecords.get("items", [])
|
for record in dnsrecords.get("items", [])
|
||||||
)
|
)
|
||||||
|
|
||||||
if failed == 4 and settings_get("misc.network.dns_exposure") != "ipv6" or ipv6_is_important():
|
if (failed == 4 and settings_get("misc.network.dns_exposure") in ["both", "ipv4"]) or (failed == 6 and ipv6_is_important()):
|
||||||
yield dict(
|
yield dict(
|
||||||
meta={"port": port},
|
meta={"port": port},
|
||||||
data={
|
data={
|
||||||
|
|
Loading…
Add table
Reference in a new issue