diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-15 17:45:00 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-15 18:20:59 -0300 |
commit | c9d46a8e801650dccea466f86c81df3fa626713c (patch) | |
tree | 725930cf412266bf2cb27ecef4ad8d08ac175489 /src/usr/local/www/diag_logs_vpn.php | |
parent | b8bb09bd4b55047f10e01c7ec91b3d29e1f70016 (diff) | |
download | pfsense-c9d46a8e801650dccea466f86c81df3fa626713c.zip pfsense-c9d46a8e801650dccea466f86c81df3fa626713c.tar.gz |
Retire PPTP server, fixes #4226:
- Remove PPTP server and all related code
- Bump config version 12.2
- Write upgrade config code to remove pptpd section and also cleanup
firewall and NAT rules using PPTP interface or src/des
Diffstat (limited to 'src/usr/local/www/diag_logs_vpn.php')
-rwxr-xr-x | src/usr/local/www/diag_logs_vpn.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/usr/local/www/diag_logs_vpn.php b/src/usr/local/www/diag_logs_vpn.php index 6429a0c..4394080 100755 --- a/src/usr/local/www/diag_logs_vpn.php +++ b/src/usr/local/www/diag_logs_vpn.php @@ -69,7 +69,7 @@ ##|-PRIV -$vpns = array('pptp' => 'PPTP', 'poes' => 'PPPoE', 'l2tp' => 'L2TP'); +$vpns = array('poes' => 'PPPoE', 'l2tp' => 'L2TP'); $pgtitle = array(gettext("Status"), gettext("System logs"), gettext("VPN")); require("guiconfig.inc"); @@ -85,7 +85,7 @@ if (htmlspecialchars($_POST['vpntype'])) { } elseif (htmlspecialchars($_GET['vpntype'])) { $vpntype = htmlspecialchars($_GET['vpntype']); } else { - $vpntype = "pptp"; + $vpntype = "poes"; } if (htmlspecialchars($_POST['mode'])) { $mode = htmlspecialchars($_POST['mode']); @@ -95,9 +95,6 @@ if (htmlspecialchars($_POST['mode'])) { $mode = "login"; } switch ($vpntype) { - case 'pptp': - $logname = "pptps"; - break; case 'poes': $logname = "poes"; break; @@ -168,12 +165,6 @@ $tab_array[] = array(gettext("Settings"), false, "diag_logs_settings.php"); display_top_tabs($tab_array); $tab_array = array(); -$tab_array[] = array(gettext("PPTP Logins"), - (($vpntype == "pptp") && ($mode != "raw")), - "/diag_logs_vpn.php?vpntype=pptp"); -$tab_array[] = array(gettext("PPTP Raw"), - (($vpntype == "pptp") && ($mode == "raw")), - "/diag_logs_vpn.php?vpntype=pptp&mode=raw"); $tab_array[] = array(gettext("PPPoE Logins"), (($vpntype == "poes") && ($mode != "raw")), "/diag_logs_vpn.php?vpntype=poes"); @@ -239,4 +230,4 @@ display_top_tabs($tab_array, false, 'nav nav-tabs'); </p> </div> </div> -<?php include("foot.inc");
\ No newline at end of file +<?php include("foot.inc"); |