diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 4d6283b..94fd82f 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -492,7 +492,8 @@ if ($_POST) { unset($wancfg['provider']); unset($wancfg['ondemand']); unset($wancfg['timeout']); - unset($wancfg['pppoe']['pppoe-reset-type']); + if (isset($wancfg['pppoe']['pppoe-reset-type'])) + unset($wancfg['pppoe']['pppoe-reset-type']); unset($wancfg['local']); unset($wancfg['subnet']); unset($wancfg['remote']); |