mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	update to hardware
This commit is contained in:
		@@ -24,7 +24,7 @@ if ($data[1]['entPhysicalContainedIn'] == "0")
 | 
				
			|||||||
    $version = $data[1]['entPhysicalSoftwareRev'];
 | 
					    $version = $data[1]['entPhysicalSoftwareRev'];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!empty($data[1]['entPhysicalName']))
 | 
					  if (!empty($data[1]['entPhysicalName']) && $data[1]['entPhysicalName'] != 'Switch System')
 | 
				
			||||||
  {
 | 
					  {
 | 
				
			||||||
    $hardware = $data[1]['entPhysicalName'];
 | 
					    $hardware = $data[1]['entPhysicalName'];
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user