Commit f91abe8d authored by Franco Fichtner's avatar Franco Fichtner

interfaces: print glitch in previous

parent e23647da
......@@ -2613,7 +2613,7 @@ function interface_configure($interface = 'wan', $reloadall = false, $linkupeven
return;
}
$wandescr = isset($wancfg['descr']) ? $wancfg['descr'] : strtoupper($interface);
$wandescr = !empty($wancfg['descr']) ? strtoupper($wancfg['descr']) : strtoupper($interface);
if ($verbose) {
echo sprintf('Configuring %s interface...', $wandescr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment