summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorgnhb <gnoahb@gmail.com>2010-05-09 21:55:11 +0700
committergnhb <gnoahb@gmail.com>2010-05-09 21:55:11 +0700
commite951d0a979307fe92377082f538fa7739fbe5329 (patch)
tree09d2ec4fbaff0fdecb118f537791da415243f514 /etc/inc/interfaces.inc
parent55f3ca1d848625054054f3423db8704c38716723 (diff)
downloadpfsense-e951d0a979307fe92377082f538fa7739fbe5329.zip
pfsense-e951d0a979307fe92377082f538fa7739fbe5329.tar.gz
Clean up of last revert commit. Revert requested by CMB. (Bring back PPP tab in diag_logs).
All client side connection of PPPoE, PPP, and PPtP will be logged under the PPP tab for easy separation of normal system messages from mpd's verbose connection logging, especially at connect time.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a88e4ad..99f1385 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1332,6 +1332,7 @@ EOD;
}
// Check for PPPoE periodic reset request
if ($type == "pppoe" && isset($ppp['pppoe-reset-type']))
+ log_error ("interface_ppps_configure using ptpid={$ppp['ptpid']} for PPPoE periodic reset");
setup_pppoe_reset_file($ppp['ptpid'], $interface);
if(file_exists("{$g['varrun_path']}/{$ppp['type']}_{$interface}.pid") and $g['booting']) {
@@ -1366,7 +1367,7 @@ EOD;
}
/* fire up mpd */
- mwexec("/usr/local/sbin/mpd5 -b -k -d {$g['varetc_path']} -f mpd_{$interface}.conf -p {$g['varrun_path']}/{$ppp['type']}_{$interface}.pid -s {$interface} {$ppp['type']}client");
+ mwexec("/usr/local/sbin/mpd5 -b -k -d {$g['varetc_path']} -f mpd_{$interface}.conf -p {$g['varrun_path']}/{$ppp['type']}_{$interface}.pid -s ppp {$ppp['type']}client");
}
/* sleep until wan is up - or 30 seconds, whichever comes first */
OpenPOWER on IntegriCloud