fix: Cleanup printing ifAlias (#4874)

This commit is contained in:
Neil Lathwood
2016-12-12 14:25:48 +00:00
committed by GitHub
parent d3c6d82b21
commit 9b9c10e204
26 changed files with 32 additions and 33 deletions

View File

@@ -39,11 +39,11 @@ echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this
if ($device['os'] == 'nos') {
echo ' <span class=list-large>
'.generate_port_link($port, $port['label'])." $error_img $mac
</span><br /><span class=interface-desc>".$port['ifAlias'].'</span>';
</span><br /><span class=interface-desc>".display($port['ifAlias']).'</span>';
} else {
echo ' <span class=list-large>
'.generate_port_link($port, $port['ifIndex'].'. '.$port['label'])." $error_img $mac
</span><br /><span class=interface-desc>".$port['ifAlias'].'</span>';
</span><br /><span class=interface-desc>".display($port['ifAlias']).'</span>';
}
if ($port['ifAlias']) {