diff --git a/func/ip_func.sh b/func/ip_func.sh index e98d475f6..c8b74cd11 100644 --- a/func/ip_func.sh +++ b/func/ip_func.sh @@ -231,7 +231,7 @@ change_domain_ip() { tpl_file="$5" # Get ServerName line - serv_line=$(grep -n 'ServerName %domain%' "$tpl_file" |cut -f 1 -d :) + serv_line=$(grep -n 'ServerName %domain_idn%' "$tpl_file" |cut -f 1 -d :) # Get tpl_file last line last_line=$(wc -l $tpl_file|cut -f 1 -d ' ')