From f50bb07ef496a6fcf4974a72b05ab508cdb3ab58 Mon Sep 17 00:00:00 2001 From: Luiz Souza Date: Thu, 21 Dec 2017 14:29:06 -0200 Subject: [PATCH] Revert "Fix a bug in interfaces.php that will cause a failure on first 'Save' of 'OPT1' with some hardware configurations." This reverts commit 373513a56140215c93282252186a938b7cefcf47. --- src/usr/local/www/interfaces.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/usr/local/www/interfaces.php b/src/usr/local/www/interfaces.php index 12211dddbc..fd66950b5e 100755 --- a/src/usr/local/www/interfaces.php +++ b/src/usr/local/www/interfaces.php @@ -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 */