Fix condition for VPN interface binding

This commit is contained in:
Alexandre
2025-11-24 22:12:00 +01:00
committed by GitHub
parent 50388590cd
commit 62669745e8

View File

@@ -129,7 +129,7 @@ if bashio::config.true 'openvpn_enabled'; then
vpn_openvpn=true vpn_openvpn=true
fi fi
if [[ "${vpn_openvpn}" == true ]] && bashio::config.false 'openvpn_alt_mode'; then if [[ "${vpn_openvpn}" == true ]] && ! bashio::config.true 'openvpn_alt_mode'; then
VPN_INTERFACE="tun0" VPN_INTERFACE="tun0"
bashio::log.info "VPN monitor set to query external IP through interface ${VPN_INTERFACE} (interface binding)." bashio::log.info "VPN monitor set to query external IP through interface ${VPN_INTERFACE} (interface binding)."
else else