mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
(legacy, interfaces) it doesn't look very usefull to fill empty "provider" with 1.
This commit is contained in:
parent
7f9fcfb2db
commit
bcd96a58cd
@ -1015,8 +1015,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$new_ppp_config['password'] = base64_encode($pconfig['pppoe_password']);
|
||||
if (!empty($pconfig['provider'])) {
|
||||
$new_ppp_config['provider'] = $pconfig['provider'];
|
||||
} else {
|
||||
$new_ppp_config['provider'] = true;
|
||||
}
|
||||
$new_ppp_config['ondemand'] = !empty($pconfig['pppoe_dialondemand']);
|
||||
if (!empty($pconfig['pppoe_idletimeout'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user