mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Fix ipv6 bugs
This commit is contained in:
parent
ae6ba7a896
commit
f4bc3f50c4
18 changed files with 243 additions and 87 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue