summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-15 17:45:00 -0300
committerRenato Botelho <renato@netgate.com>2015-09-15 18:20:59 -0300
commitc9d46a8e801650dccea466f86c81df3fa626713c (patch)
tree725930cf412266bf2cb27ecef4ad8d08ac175489 /src/etc/inc/interfaces.inc
parentb8bb09bd4b55047f10e01c7ec91b3d29e1f70016 (diff)
downloadpfsense-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/etc/inc/interfaces.inc')
-rw-r--r--src/etc/inc/interfaces.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 4d9389a..99361ea 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -129,11 +129,7 @@ function interface_netgraph_needed($interface = "wan") {
global $config;
$found = false;
- if (!empty($config['pptpd']) &&
- $config['pptpd']['mode'] == "server") {
- $found = true;
- }
- if ($found == false && !empty($config['l2tp']) &&
+ if (!empty($config['l2tp']) &&
$config['l2tp']['mode'] == "server") {
$found = true;
}
OpenPOWER on IntegriCloud