The current version of the updown script cannot handle VTI connections with peers that are a IPv6 address
http://git.ipfire.org/?p=network.git;a=commit;h=dff38496350dd5ceef6286aa4bff2cc49fae3669 Author: Jonatan Schlag <jonatan.schlag@ipfire.org> ip-tunnel: choose the correct type based on the ip protocol IPv4 and IPv6 need different types for iproute2. So in the _add function we have to determine the mode based on the IP protocol of the ${remote_address}. When we change ikey and okey we have to dertermine the mode the device have currently. Fixes: #11431 Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>