From 1511ca347942d36c6ceff8741e956ede8e26fefb Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 15 Dec 2011 23:32:06 +0000 Subject: [PATCH] ports page popup on "dot1Q" showing vlans and vlan status. (i rock, right? fuck yeah i do!) git-svn-id: http://www.observium.org/svn/observer/trunk@2789 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-interface.inc.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index b98800722..3b605ccd8 100644 --- a/html/includes/print-interface.inc.php +++ b/html/includes/print-interface.inc.php @@ -89,7 +89,15 @@ if ($port[ifDuplex] != "unknown") { echo("" . $port['ifDupl if ($device['os'] == "ios" || $device['os'] == "iosxe") { if ($port['ifTrunk']) { - echo("

" . $port['ifTrunk'] . "

"); + + echo('

".$vlan['vlan'] ." ".$vlan['vlan_descr']."
"); + } + echo('">'.$port['ifTrunk'].'

'); } elseif ($port['ifVlan']) { echo("

VLAN " . $port['ifVlan'] . "

"); } elseif ($port['ifVrf']) {