Merge pull request #573 from KFleshman/issue-572

Add version detection for 3Com Baseline switches (and possibly others)
This commit is contained in:
Neil Lathwood
2015-03-09 20:34:33 +00:00
+6
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));
?>