mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
Merge pull request #573 from KFleshman/issue-572
Add version detection for 3Com Baseline switches (and possibly others)
This commit is contained in:
@@ -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));
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user