Skip to content
Snippets Groups Projects
Verified Commit ad0a97b7 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

oneliner

parent 60b041c5
No related branches found
No related tags found
No related merge requests found
......@@ -64,9 +64,7 @@ def check_relay(conf: dict) -> int:
if not configured_relay:
# check public ip address
ip_addr = conf.get("NETWORK_IP_NAT")
if not ip_addr:
ip_addr = conf.get("NETWORK_IP")
ip_addr = conf.get("NETWORK_IP_NAT") or conf.get("NETWORK_IP")
if not ip_addr:
u.warning("Cannot determine public IP address")
return 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment