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/etc/inc/pfsense-utils.inc | |
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/etc/inc/pfsense-utils.inc')
-rw-r--r-- | src/etc/inc/pfsense-utils.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/etc/inc/pfsense-utils.inc b/src/etc/inc/pfsense-utils.inc index e782228..f31f63b 100644 --- a/src/etc/inc/pfsense-utils.inc +++ b/src/etc/inc/pfsense-utils.inc @@ -2832,13 +2832,6 @@ function where_is_ipaddr_configured($ipaddr, $ignore_if = "", $check_localip = f } if ($check_localip) { - if (is_array($config['pptpd']) && !empty($config['pptpd']['localip']) && (strcasecmp($ipaddr, $config['pptpd']['localip']) == 0)) { - $where_entry = array(); - $where_entry['if'] = 'pptp'; - $where_entry['ip_or_subnet'] = $config['pptpd']['localip']; - $where_configured[] = $where_entry; - } - if (!is_array($config['l2tp']) && !empty($config['l2tp']['localip']) && (strcasecmp($ipaddr, $config['l2tp']['localip']) == 0)) { $where_entry = array(); $where_entry['if'] = 'l2tp'; |