Fix ipv6 bugs

This commit is contained in:
MadeITBelgium 2017-09-22 16:55:16 +00:00
commit f4bc3f50c4
18 changed files with 243 additions and 87 deletions

View file

@ -33,7 +33,7 @@ ipv6use=""
if [ ! -z "$ipv6" ] && [ "::1" != "$ipv6" ]; then
netmask="ip addr show | grep '$ipv6' | awk -F '/' '{print \$2}' | awk '{print \$1}'"
netmask=$(eval $netmask)
$VESTA/bin/v-add-sys-ipv6 $ipv6 $netmask
$BIN/v-add-sys-ipv6 $ipv6 $netmask
$BIN/v-update-firewall-ipv6
ipv6use=$ipv6
fi