mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@327 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
$ifDescr = trim(str_replace("\"", "", $ifDescr));
|
||||
} else { $ifDescr = trim(str_replace("\"", "", $ifName)); }
|
||||
|
||||
|
||||
if(!strstr($entry, "irtual")) {
|
||||
$if = trim(strtolower($ifDescr));
|
||||
$nullintf = 0;
|
||||
@@ -33,6 +34,7 @@
|
||||
$nullintf = 1;
|
||||
}
|
||||
}
|
||||
$ifDescr = fixifName($ifDescr);
|
||||
if (preg_match('/serial[0-9]:/', $if)) { $nullintf = '1'; }
|
||||
if (preg_match('/ng[0-9]+$/', $if)) { $nullintf = '1'; }
|
||||
if ($nullintf == 0) {
|
||||
|
||||
Reference in New Issue
Block a user