Add version detection for 3Com Baseline switches (and possibly others)

This commit is contained in:
Kevin Fleshman
2015-03-09 13:02:46 -07:00
parent ac6f77791b
commit 1dd4a2deff

View File

@@ -0,0 +1,6 @@
<?php
# Version is the last word in the sysDescr's first line
list($version) = explode("\r", substr($poll_device['sysDescr'], strpos($poll_device['sysDescr'], "Release")+8));
?>