summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-06-13 20:55:10 +0700
committergnhb <gnoahb@gmail.com>2010-06-13 20:55:10 +0700
commit8af6c46d7fd0ada439b1f4010b046cdbdd90bc56 (patch)
tree1263d9997619c4ee98e622dac095ff84c75127df /etc
parent69c1b04365c3e2b6418954f8739913753c7ab87f (diff)
downloadpfsense-8af6c46d7fd0ada439b1f4010b046cdbdd90bc56.zip
pfsense-8af6c46d7fd0ada439b1f4010b046cdbdd90bc56.tar.gz
Remove extra code that isn't needed any more in interfaces.inc.
creating pppoe reset file is now handled directly in interfaces_ppps_configure function.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc9
1 files changed, 1 insertions, 8 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a24909c..9e17d20 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -681,10 +681,6 @@ function interfaces_configure() {
foreach($iflist as $if => $ifname) {
$realif = $config['interfaces'][$if]['if'];
- if(is_array($config['interfaces'][$if]['pppoe']) && isset($config['interfaces'][$if]['pppoe']['pppoe-reset-type']))
- setup_pppoe_reset_file($if, true);
- else
- setup_pppoe_reset_file($if, false);
if (strstr($realif, "bridge"))
$bridge_list[$if] = $ifname;
else if (strstr($realif, "gre"))
@@ -2281,11 +2277,8 @@ function interface_configure($interface = "wan", $reloadall = false) {
interface_dhcp_configure($interface);
break;
case 'pppoe':
- interface_ppps_configure($interface);
- break;
+ case 'l2tp':
case 'pptp':
- interface_ppps_configure($interface);
- break;
case 'ppp':
interface_ppps_configure($interface);
break;
OpenPOWER on IntegriCloud