summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_edit.php12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 7b63ff6..e2c90f7 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -534,9 +534,6 @@ function build_srctype_list() {
$sel = is_specialnet($pconfig['src']);
- if (have_ruleint_access("pptp"))
- $list['pptp'] = 'PPTP clients';
-
if (have_ruleint_access("pppoe"))
$list['pppoe'] = 'PPPoE clients';
@@ -559,9 +556,6 @@ function build_dsttype_list() {
$sel = is_specialnet($pconfig['dst']);
$list = array('any' => 'Any', 'single' => 'Single host or alias', 'network' => 'Network', '(self)' => 'This Firewall (self)');
- if (have_ruleint_access("pptp"))
- $list['pptp'] = 'PPTP clients';
-
if (have_ruleint_access("pppoe"))
$list['pppoe'] = 'PPPoE clients';
@@ -669,10 +663,6 @@ if ($config['l2tp']['mode'] == "server")
if (have_ruleint_access("l2tp"))
$interfaces['l2tp'] = "L2TP VPN";
-if ($config['pptpd']['mode'] == "server")
- if (have_ruleint_access("pptp"))
- $interfaces['pptp'] = "PPTP VPN";
-
if (is_pppoe_server_enabled() && have_ruleint_access("pppoe"))
$interfaces['pppoe'] = "PPPoE Server";
@@ -1265,4 +1255,4 @@ events.push(function(){
//]]>
</script>
-<?php include("foot.inc"); \ No newline at end of file
+<?php include("foot.inc");
OpenPOWER on IntegriCloud