summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/vpn_openvpn_server.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2017-05-22 12:24:15 -0400
committerjim-p <jimp@pfsense.org>2017-05-22 12:24:15 -0400
commitbc3669e4e88cb75eb987ee073a5360f4a69b10b1 (patch)
treec40eda26ef4bdb9fa8b8aa463ac062330a51854b /src/usr/local/www/vpn_openvpn_server.php
parentd44942d3477c609e37794dc31c36fcd5c4435fbb (diff)
downloadpfsense-bc3669e4e88cb75eb987ee073a5360f4a69b10b1.zip
pfsense-bc3669e4e88cb75eb987ee073a5360f4a69b10b1.tar.gz
Remove references to unused "Address Pool" setting. The address behavior is now determined by the mode, and has been for years. Fixes #7567
Diffstat (limited to 'src/usr/local/www/vpn_openvpn_server.php')
-rw-r--r--src/usr/local/www/vpn_openvpn_server.php16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php
index 3f7ff4a..910b632 100644
--- a/src/usr/local/www/vpn_openvpn_server.php
+++ b/src/usr/local/www/vpn_openvpn_server.php
@@ -105,7 +105,6 @@ if ($act == "new") {
$pconfig['dev_mode'] = "tun";
$pconfig['interface'] = "wan";
$pconfig['local_port'] = openvpn_port_next('UDP');
- $pconfig['pool_enable'] = "yes";
$pconfig['cert_depth'] = 1;
$pconfig['verbosity_level'] = 1; // Default verbosity is 1
// OpenVPN Defaults to SHA1
@@ -183,7 +182,6 @@ if ($act == "edit") {
$pconfig['client2client'] = $a_server[$id]['client2client'];
$pconfig['dynamic_ip'] = $a_server[$id]['dynamic_ip'];
- $pconfig['pool_enable'] = $a_server[$id]['pool_enable'];
$pconfig['topology'] = $a_server[$id]['topology'];
$pconfig['serverbridge_dhcp'] = $a_server[$id]['serverbridge_dhcp'];
@@ -547,7 +545,6 @@ if ($_POST['save']) {
$server['client2client'] = $pconfig['client2client'];
$server['dynamic_ip'] = $pconfig['dynamic_ip'];
- $server['pool_enable'] = $pconfig['pool_enable'];
$server['topology'] = $pconfig['topology'];
$server['serverbridge_dhcp'] = $pconfig['serverbridge_dhcp'];
@@ -982,8 +979,8 @@ if ($act=="new" || $act=="edit"):
$pconfig['tunnel_network']
))->setHelp('This is the IPv4 virtual network used for private communications between this server and client ' .
'hosts expressed using CIDR (e.g. 10.0.8.0/24). The first network address will be assigned to ' .
- 'the server virtual interface. The remaining network addresses can optionally be assigned ' .
- 'to connecting clients (see Address Pool).');
+ 'the server virtual interface. The remaining network addresses will be assigned ' .
+ 'to connecting clients.');
$section->addInput(new Form_Input(
'tunnel_networkv6',
@@ -993,7 +990,7 @@ if ($act=="new" || $act=="edit"):
))->setHelp('This is the IPv6 virtual network used for private ' .
'communications between this server and client hosts expressed using CIDR (e.g. fe80::/64). ' .
'The first network address will be assigned to the server virtual interface. The remaining ' .
- 'network addresses can optionally be assigned to connecting clients (see Address Pool).');
+ 'network addresses will be assigned to connecting clients.');
$section->addInput(new Form_Checkbox(
'serverbridge_dhcp',
@@ -1127,13 +1124,6 @@ if ($act=="new" || $act=="edit"):
$pconfig['dynamic_ip']
));
- $section->addInput(new Form_Checkbox(
- 'pool_enable',
- 'Address Pool',
- 'Provide a virtual adapter IP address to clients (see Tunnel Network).',
- $pconfig['pool_enable']
- ));
-
$section->addInput(new Form_Select(
'topology',
'Topology',
OpenPOWER on IntegriCloud