mirror of
https://codeberg.org/scip/jaildk.git
synced 2025-12-18 13:11:02 +01:00
fixed vnet ipv6 configuration, syntax error
This commit is contained in:
8
jaildk
8
jaildk
@@ -2045,7 +2045,13 @@ jaildk_vnet() {
|
||||
ex jexec $jail ifconfig $vnetjail $ip up
|
||||
ex jexec $jail route add default $gw
|
||||
|
||||
if -n "$ip6" -a -n "$gw6"; then
|
||||
if test -n "$ip6" -a -n "$gw6"; then
|
||||
ex jexec $jail ifconfig $vnetjail inet6 $ip6
|
||||
ex jexec $jail route -6 add default $gw6
|
||||
fi
|
||||
;;
|
||||
start6)
|
||||
if test -n "$ip6" -a -n "$gw6"; then
|
||||
ex jexec $jail ifconfig $vnetjail inet6 $ip6
|
||||
ex jexec $jail route -6 add default $gw6
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user