diff options
Diffstat (limited to 'src/usr/local/www/firewall_nat_1to1_edit.php')
-rw-r--r-- | src/usr/local/www/firewall_nat_1to1_edit.php | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php index e051f2b..22d48ce 100644 --- a/src/usr/local/www/firewall_nat_1to1_edit.php +++ b/src/usr/local/www/firewall_nat_1to1_edit.php @@ -282,9 +282,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'; @@ -322,9 +319,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'; @@ -409,10 +403,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"; |