1
0

Fix ipv6 support for gre module

This commit is contained in:
2021-01-13 13:45:26 +01:00
parent 5f95721f3d
commit fff74fed87
3 changed files with 17 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ let
script = ''
${tunnel.preSetup}
ip${optionalString isIPv6 " -6"} tunnel add ${name} mode gre remote ${tunnel.remote} local ${tunnel.local}
ip${optionalString isIPv6 " -6"} tunnel add ${name} mode ${optionalString isIPv6 "ip6"}gre remote ${tunnel.remote} local ${tunnel.local}
ip link set ${name} up
ip${optionalString isIPv6 " -6"} a add ${tunnel.address} dev ${name}
${tunnel.postSetup}