mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixed code formatting errors
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
<?php
|
||||
echo 'RC-VLAN-MIB VLANs: ';
|
||||
if ($device['os'] == 'avaya-ers') {
|
||||
|
||||
echo 'RC-VLAN-MIB VLANs: ';
|
||||
|
||||
if ($device['os'] == 'avaya-ers') {
|
||||
$vtpdomain_id = '1';
|
||||
$vlans = snmpwalk_cache_oid($device, 'rcVlanName', array(), 'RC-VLAN-MIB');
|
||||
$tagoruntag = snmpwalk_cache_oid($device, 'rcVlanPortMembers', array(), 'RC-VLAN-MIB', null, '-OQUs --hexOutputLength=0');
|
||||
@ -32,6 +33,7 @@ if ($device['os'] == 'avaya-ers') {
|
||||
array_push($untagged_ids, $port);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($egress_ids as $port_id) {
|
||||
$ifIndex = $base_to_index[$port_id];
|
||||
$per_vlan_data[$vlan_id][$ifIndex]['untagged'] = (in_array($port_id, $untagged_ids) ? 1 : 0);
|
||||
|
Reference in New Issue
Block a user