From 41ec15555436eac9514af1b62856ed86ce902938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 25 Jan 2021 12:27:40 +0100 Subject: [PATCH] Update sources/Coturn_config_rotate.sh Co-authored-by: Kayou --- sources/Coturn_config_rotate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/Coturn_config_rotate.sh b/sources/Coturn_config_rotate.sh index 7f41aa4..2780efd 100644 --- a/sources/Coturn_config_rotate.sh +++ b/sources/Coturn_config_rotate.sh @@ -16,7 +16,7 @@ else external_IP_line="${external_IP_line/'__IPV4__,'/}" fi -if [[ -n "$public_ip6" ]] && ynh_validate_ip 6 "$public_ip6" +if [ -n "$public_ip6" ] && ynh_validate_ip6 --ip_address="$public_ip6" then external_IP_line="${external_IP_line/'__IPV6__'/$public_ip6}" else