create_vhost.sh: fix IPv6 Error in case of overwriting existing vhost entry.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user