Revert "Fix a bug in interfaces.php that will cause a failure on first 'Save' of 'OPT1' with some hardware configurations."

This reverts commit 373513a561.
This commit is contained in:
Luiz Souza 2017-12-21 14:29:06 -02:00
parent 5946477f65
commit f50bb07ef4

View File

@ -101,8 +101,6 @@ if ($if == "wan" && !$wancfg['descr']) {
$wancfg['descr'] = "WAN";
} else if ($if == "lan" && !$wancfg['descr']) {
$wancfg['descr'] = "LAN";
} else if ($if == "opt1" && !$wancfg['descr']) {
$wancfg['descr'] = "OPT1";
}
/* NOTE: The code here is used to set the $pppid for the curious */