mirror of
				https://github.com/librenms/librenms.git
				synced 2024-10-07 16:52:45 +00:00 
			
		
		
		
	Add a generic way to allow empty ifDescr on ports for an OS.
This commit is contained in:
		| @@ -895,7 +895,7 @@ function is_port_valid($port, $device) { | ||||
|                 } | ||||
|             } | ||||
|         } | ||||
|         if (empty($port['ifDescr']) && !$device['os'] == "calix") { | ||||
|         if (empty($port['ifDescr']) && !$config['os'][$device['os']]['empty_ifdescr']) { | ||||
|             $valid = 0; | ||||
|         } | ||||
|         if ($device['os'] == "catos" && strstr($if, "vlan")) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user