fix interface descriptions, at least on windows - patch by Geert

git-svn-id: http://www.observium.org/svn/observer/trunk@1772 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-01-25 11:42:47 +00:00
parent e10e6dfa98
commit 69a4a0f63c
+1 -1
View File
@@ -16,7 +16,7 @@ $interface_added = 0;
foreach(explode("\n", $ports) as $entry){
$entry = trim($entry);
list($ifIndex, $ifDescr) = explode("||", $entry);
list($ifIndex, $ifDescr) = explode("||", $entry, 2);
if(!strstr($entry, "irtual")) {
$if = trim(strtolower($ifDescr));