From 704b4709d43c9bf8473a15d78f73d76676be84e5 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 8 Oct 2025 08:20:27 +0200 Subject: [PATCH] create_vhost.sh: fix IPv6 Error in case of overwriting existing vhost entry. --- create_vhost.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/create_vhost.sh b/create_vhost.sh index e9e0a2d..db33af4 100755 --- a/create_vhost.sh +++ b/create_vhost.sh @@ -2111,10 +2111,10 @@ fi _default_ipv6=false -if [[ -n "${IPv4_FIRST}" ]]; then +if [[ -n "${IPv4_FIRST}" ]] || [[ -n "${_ipv4}" ]]; then _default_ipv4=true fi -if [[ -n "${IPv6_FIRST}" ]]; then +if [[ -n "${IPv6_FIRST}" ]] || [[ -n "${_ipv6}" ]]; then _default_ipv6=true fi