diff options
author | Seth <seth.mos@xs4all.nl> | 2011-04-28 19:47:45 +0200 |
---|---|---|
committer | Seth <seth.mos@xs4all.nl> | 2011-04-28 19:47:45 +0200 |
commit | 86f69114fe89f3915d17e7937b7c146d743aee77 (patch) | |
tree | 15dbf887cb8509f0ce90994f3ea921bb7f54a7b4 /config/openvpn-client-export | |
parent | 825561aeff7c5388c82f54c3a3dd62ff20041002 (diff) | |
download | pfsense-packages-86f69114fe89f3915d17e7937b7c146d743aee77.tar.gz pfsense-packages-86f69114fe89f3915d17e7937b7c146d743aee77.tar.bz2 pfsense-packages-86f69114fe89f3915d17e7937b7c146d743aee77.zip |
Bump version to 0.9 for ipv6 support
Diffstat (limited to 'config/openvpn-client-export')
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.inc | 6 | ||||
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.xml | 2 |
2 files changed, 7 insertions, 1 deletions
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 @@ <?xml version="1.0" encoding="utf-8" ?> <packagegui> <name>OpenVPN Client Export</name> - <version>0.8</version> + <version>0.9</version> <title>OpenVPN Client Export</title> <include_file>/usr/local/pkg/openvpn-client-export.inc</include_file> <backup_file></backup_file> |