summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_openvpn_server.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-12-30 12:17:22 -0200
committerRenato Botelho <renato@netgate.com>2016-12-30 12:17:37 -0200
commit56110c7249b5dbd9ea4e0b4c4009794c69a58143 (patch)
tree0bf32369907a5674095069a453cf1893d2615121 /src/usr/local/www/vpn_openvpn_server.php
parente10a9781b83aa59ee86164d76b3d5d274e902c4b (diff)
downloadpfsense-56110c7249b5dbd9ea4e0b4c4009794c69a58143.zip
pfsense-56110c7249b5dbd9ea4e0b4c4009794c69a58143.tar.gz
Ticket #7054: Remove tun-ipv6 option, deprecated on OpenVPN 2.4.0 and related GUI knobs
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_server.php')
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index daa85c0..ef4bd02 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -229,7 +229,6 @@ if ($_GET['act'] == "edit") {
$pconfig['duplicate_cn'] = isset($a_server[$id]['duplicate_cn']);
- $pconfig['no_tun_ipv6'] = $a_server[$id]['no_tun_ipv6'];
if (isset($a_server[$id]['verbosity_level'])) {
$pconfig['verbosity_level'] = $a_server[$id]['verbosity_level'];
} else {
@@ -527,7 +526,6 @@ if ($_POST) {
$server['netbios_ntype'] = $pconfig['netbios_ntype'];
$server['netbios_scope'] = $pconfig['netbios_scope'];
- $server['no_tun_ipv6'] = $pconfig['no_tun_ipv6'];
$server['verbosity_level'] = $pconfig['verbosity_level'];
if ($pconfig['netbios_enable']) {
@@ -956,13 +954,6 @@ if ($act=="new" || $act=="edit"):
$pconfig['duplicate_cn']
))->setHelp('(This is not generally recommended, but may be needed for some scenarios.)');
- $section->addInput(new Form_Checkbox(
- 'no_tun_ipv6',
- 'Disable IPv6',
- 'Don\'t forward IPv6 traffic. ',
- $pconfig['no_tun_ipv6']
- ));
-
$form->add($section);
$section = new Form_Section('Client Settings');
@@ -1476,7 +1467,6 @@ events.push(function() {
switch (value) {
case "tun":
- hideCheckbox('no_tun_ipv6', false);
hideInput('tunnel_network', false);
hideCheckbox('serverbridge_dhcp', true);
hideInput('serverbridge_interface', true);
@@ -1496,7 +1486,6 @@ events.push(function() {
break;
case "tap":
- hideCheckbox('no_tun_ipv6', true);
hideInput('tunnel_network', false);
if (!p2p) {
OpenPOWER on IntegriCloud