From cf394368650cd1e7340ffd68f20c408dd728998c Mon Sep 17 00:00:00 2001 From: Chris Freas Date: Tue, 24 May 2016 13:52:04 -0400 Subject: [PATCH] fix indentation per request --- includes/discovery/entity-physical.inc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/discovery/entity-physical.inc.php b/includes/discovery/entity-physical.inc.php index f82418c200..91c61b8de3 100644 --- a/includes/discovery/entity-physical.inc.php +++ b/includes/discovery/entity-physical.inc.php @@ -11,7 +11,7 @@ if ($config['enable_inventory']) { $entity_array = snmpwalk_cache_oid($device, 'jnxBoxAnatomy', $entity_array, 'JUNIPER-MIB'); } elseif ($device['os'] == 'timos') { - $entity_array = array(); + $entity_array = array(); echo 'tmnxHwObjs'; $entity_array = snmpwalk_cache_multi_oid($device, 'tmnxHwObjs', $entity_array, 'TIMETRA-CHASSIS-MIB', '+'.$config['mib_dir'].'/aos:'.$config['mib_dir']); } @@ -44,7 +44,7 @@ if ($config['enable_inventory']) { $entPhysicalAssetID = $entry['entPhysicalAssetID']; // fix for issue 1865, $entPhysicalIndex, as it contains a quad dotted number on newer Junipers // using str_replace to remove all dots should fix this even if it changes in future - $entPhysicalIndex = str_replace('.','',$entPhysicalIndex); + $entPhysicalIndex = str_replace('.','',$entPhysicalIndex); } elseif ($device['os'] == 'timos') { $entPhysicalDescr = $entry['tmnxCardTypeDescription']; @@ -62,7 +62,7 @@ if ($config['enable_inventory']) { $entPhysicalIsFRU = $entry['tmnxHwIsFRU']; $entPhysicalAlias = $entry['tmnxHwAlias']; $entPhysicalAssetID = $entry['tmnxHwAssetID']; - $entPhysicalIndex = str_replace('.','',$entPhysicalIndex); + $entPhysicalIndex = str_replace('.','',$entPhysicalIndex); } else { $entPhysicalDescr = $entry['entPhysicalDescr'];