summaryrefslogtreecommitdiffstats
path: root/etc/inc/config.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-02-15 21:34:00 +0000
committerErmal Luçi <eri@pfsense.org>2009-02-15 21:34:00 +0000
commita56120f2793bf778b171784f7ebac4d624f8d494 (patch)
tree52daf5c640ceabff665d47fa3c1e9148c14194ac /etc/inc/config.inc
parenteff29d62c50803fe5eaf3b3d9089ac428c8811ad (diff)
downloadpfsense-a56120f2793bf778b171784f7ebac4d624f8d494.zip
pfsense-a56120f2793bf778b171784f7ebac4d624f8d494.tar.gz
Remove all global decalarations regarding pptp/pppoe/l2tp they are no more needed.
Diffstat (limited to 'etc/inc/config.inc')
-rw-r--r--etc/inc/config.inc13
1 files changed, 0 insertions, 13 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 3f81ab0..6bd22c8 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -317,19 +317,6 @@ function parse_config($parse = false) {
update_filter_reload_status("Plugins completed.");
}
- /* override some global configuration parms if they exist
- * instead of hard coding these checks into the codebase
- */
- if($config['pptp']['n_pptp_units'])
- $g['n_pptp_units'] = $config['pptp']['n_pptp_units'];
- if($config['pptp']['pptp_subnet'])
- $g['pptp_subnet'] = $config['pptp']['pptp_subnet'];
-
- if($config['pppoe']['n_pppoe_units'])
- $g['n_pppoe_units'] = $config['pppoe']['n_pppoe_units'];
- if($config['pppoe']['pppoe_subnet'])
- $g['pppoe_subnet'] = $config['pppoe']['pppoe_subnet'];
-
return $config;
}
OpenPOWER on IntegriCloud