Fixes for proper EIP handling

This commit is contained in:
Serghey Rodin 2018-06-08 11:40:42 +03:00
commit f68bb795de
3 changed files with 130 additions and 113 deletions

View file

@ -49,7 +49,7 @@ is_ip_valid "$ip" "$user"
# Preparing variables for vhost replace
get_domain_values 'web'
old=$(get_real_ip $IP)
new=$ip
new=$(get_real_ip $ip)
# Replacing vhost
replace_web_config "$WEB_SYSTEM" "$TPL.tpl"