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