Handle renaming of the pppoe/pptp username and password parameters.

This commit is contained in:
Ermal Luçi 2008-09-09 14:55:59 +00:00
parent 69e5a8be8d
commit 8da53af88f

View File

@ -1445,8 +1445,8 @@ EOD;
$mpdconf .= <<<EOD
set bundle disable multilink
set auth authname "{$wancfg['username']}"
set auth password "{$wancfg['password']}"
set auth authname "{$wancfg['pppoe_username']}"
set auth password "{$wancfg['pppoe_password']}"
set link keep-alive 10 60
set link max-redial 0
set link no acfcomp protocomp
@ -1605,8 +1605,8 @@ EOD;
$mpdconf .= <<<EOD
set bundle disable multilink
set bundle authname "{$wancfg['username']}"
set bundle password "{$wancfg['password']}"
set bundle authname "{$wancfg['pptp_username']}"
set bundle password "{$wancfg['pptp_password']}"
set bundle no noretry
set link keep-alive 10 60
set link max-redial 0