diff options
author | jim-p <jimp@pfsense.org> | 2017-05-22 12:24:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-05-22 12:24:15 -0400 |
commit | bc3669e4e88cb75eb987ee073a5360f4a69b10b1 (patch) | |
tree | c40eda26ef4bdb9fa8b8aa463ac062330a51854b /src | |
parent | d44942d3477c609e37794dc31c36fcd5c4435fbb (diff) | |
download | pfsense-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')
-rw-r--r-- | src/usr/local/www/vpn_openvpn_server.php | 16 | ||||
-rw-r--r-- | src/usr/local/www/wizards/openvpn_wizard.inc | 2 | ||||
-rw-r--r-- | src/usr/local/www/wizards/openvpn_wizard.xml | 10 |
3 files changed, 4 insertions, 24 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', diff --git a/src/usr/local/www/wizards/openvpn_wizard.inc b/src/usr/local/www/wizards/openvpn_wizard.inc index a46f27d..c6fdca0 100644 --- a/src/usr/local/www/wizards/openvpn_wizard.inc +++ b/src/usr/local/www/wizards/openvpn_wizard.inc @@ -597,8 +597,6 @@ function step12_submitphpaction() { $server['duplicate_cn'] = $pconfig['step10']['duplicate_cn']; if (isset($pconfig['step10']['dynip'])) $server['dynamic_ip'] = $pconfig['step10']['dynip']; - if (isset($pconfig['step10']['addrpool'])) - $server['pool_enable'] = $pconfig['step10']['addrpool']; if (isset($pconfig['step10']['defaultdomain'])) $server['dns_domain'] = $pconfig['step10']['defaultdomain']; if (isset($pconfig['step10']['dns1'])) diff --git a/src/usr/local/www/wizards/openvpn_wizard.xml b/src/usr/local/www/wizards/openvpn_wizard.xml index 3d898d7..45b6956 100644 --- a/src/usr/local/www/wizards/openvpn_wizard.xml +++ b/src/usr/local/www/wizards/openvpn_wizard.xml @@ -782,7 +782,7 @@ <type>input</type> <size>20</size> <bindstofield>ovpnserver->step10->tunnelnet</bindstofield> - <description>This is the virtual network used for private communications between this server and client hosts expressed using CIDR notation (eg. 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)</description> + <description>This is the virtual network used for private communications between this server and client hosts expressed using CIDR notation (eg. 10.0.8.0/24). The first network address will be assigned to the server virtual interface. The remaining network addresses will be assigned to connecting clients.</description> </field> <field> <displayname>Redirect Gateway</displayname> @@ -854,14 +854,6 @@ <bindstofield>ovpnserver->step10->dynip</bindstofield> </field> <field> - <displayname>Address Pool</displayname> - <name>addrpool</name> - <type>checkbox</type> - <value>on</value> - <description>Provide a virtual adapter IP address to clients (see Tunnel Network).</description> - <bindstofield>ovpnserver->step10->addrpool</bindstofield> - </field> - <field> <displayname>Topology</displayname> <name>topology</name> <type>select</type> |