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
|
_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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user