mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix
This commit is contained in:
parent
267b56ba87
commit
d8ff177501
2 changed files with 6 additions and 6 deletions
|
@ -84,7 +84,7 @@ process_ips(){
|
|||
# if we try to bind port 53 on a fe80:: address, AGH crashes
|
||||
if ! [[ "$ip" =~ ^fe80:* ]]; then
|
||||
# don't process if the IP is public and the port 53 closed
|
||||
if is_public_ip "$ip" && [ "$open_port_53" == "false" ]; then
|
||||
if is_public_ip "$ip" && [ "$expose_port_53" == "false" ]; then
|
||||
# don't add this IP (do nothing)
|
||||
:
|
||||
else
|
||||
|
|
10
tests.toml
10
tests.toml
|
@ -7,7 +7,7 @@ test_format = 1.0
|
|||
# -------------------------------
|
||||
|
||||
# false by default
|
||||
args.open_port_53 = 1
|
||||
args.expose_port_53 = 1
|
||||
args.dns_over_https = 1
|
||||
|
||||
# -------------------------------
|
||||
|
@ -20,17 +20,17 @@ test_upgrade_from.c1b81566.name = "Upgrade from 0.107.43~ynh3"
|
|||
# additional tests suite
|
||||
# -------------------------------
|
||||
|
||||
[open_port_53]
|
||||
[expose_port_53]
|
||||
only = ["install.root"]
|
||||
args.open_port_53 = 0
|
||||
args.expose_port_53 = 0
|
||||
args.dns_over_https = 1
|
||||
|
||||
[open_doh_doq_ports]
|
||||
only = ["install.root"]
|
||||
args.open_port_53 = 1
|
||||
args.expose_port_53 = 1
|
||||
args.dns_over_https = 0
|
||||
|
||||
[open_both_port_53_and_doh_doq_ports]
|
||||
only = ["install.root"]
|
||||
args.open_port_53 = 0
|
||||
args.expose_port_53 = 0
|
||||
args.dns_over_https = 0
|
||||
|
|
Loading…
Add table
Reference in a new issue