From 86f69114fe89f3915d17e7937b7c146d743aee77 Mon Sep 17 00:00:00 2001 From: Seth Date: Thu, 28 Apr 2011 19:47:45 +0200 Subject: Bump version to 0.9 for ipv6 support --- config/openvpn-client-export/openvpn-client-export.inc | 6 ++++++ config/openvpn-client-export/openvpn-client-export.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index 48be5f0f..b5850a26 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -163,6 +163,9 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke // add basic settings $conf = "dev tun\n"; + if(! empty($settings['tunnel_networkv6'])) { + $conf .= "tun-ipv6\n"; + } $conf .= "persist-tun\n"; $conf .= "persist-key\n"; $conf .= "proto {$proto}\n"; @@ -554,6 +557,9 @@ function openvpn_client_export_sharedkey_config($srvid, $useaddr, $proxy, $zipco // add basic settings $conf = "dev tun\n"; + if(! empty($settings['tunnel_networkv6'])) { + $conf .= "tun-ipv6\n"; + } $conf .= "persist-tun\n"; $conf .= "persist-key\n"; $conf .= "proto {$proto}\n"; diff --git a/config/openvpn-client-export/openvpn-client-export.xml b/config/openvpn-client-export/openvpn-client-export.xml index d06d50f8..d3816e14 100755 --- a/config/openvpn-client-export/openvpn-client-export.xml +++ b/config/openvpn-client-export/openvpn-client-export.xml @@ -1,7 +1,7 @@ OpenVPN Client Export - 0.8 + 0.9 OpenVPN Client Export /usr/local/pkg/openvpn-client-export.inc -- cgit v1.2.3