Révision 4703c007
Ajouté par Ermal il y a plus de 9 ans
usr/local/www/interfaces.php | ||
---|---|---|
896 | 896 |
unset($wancfg['pptp_username']); |
897 | 897 |
unset($wancfg['pptp_password']); |
898 | 898 |
unset($wancfg['provider']); |
899 |
unset($wancfg['ondemand']); |
|
899 |
if ($wancfg['ipaddr'] != "ppp") |
|
900 |
unset($wancfg['ondemand']); |
|
900 | 901 |
unset($wancfg['timeout']); |
901 | 902 |
if (empty($wancfg['pppoe']['pppoe-reset-type'])) |
902 | 903 |
unset($wancfg['pppoe']['pppoe-reset-type']); |
Formats disponibles : Unified diff
Fixes #3727 Do not unset ondemand for ppp type interfaces since it is controlled here only for pppoe/l2tp