create_vhost.sh: fix IPv6 Error in case of overwriting existing vhost entry.

This commit is contained in:
2025-10-08 08:20:27 +02:00
parent 5ec756adec
commit 704b4709d4

View File

@@ -2111,10 +2111,10 @@ fi
_default_ipv6=false _default_ipv6=false
if [[ -n "${IPv4_FIRST}" ]]; then if [[ -n "${IPv4_FIRST}" ]] || [[ -n "${_ipv4}" ]]; then
_default_ipv4=true _default_ipv4=true
fi fi
if [[ -n "${IPv6_FIRST}" ]]; then if [[ -n "${IPv6_FIRST}" ]] || [[ -n "${_ipv6}" ]]; then
_default_ipv6=true _default_ipv6=true
fi fi