mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 16:08:55 +02:00
fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@76 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -343,6 +343,8 @@ function fixifName ($inf) {
|
||||
$inf = str_replace("dial", "Dial", $inf);
|
||||
$inf = str_replace("hp procurve switch software Loopback interface", "Loopback Interface", $inf);
|
||||
$inf = str_replace("control plane interface", "Control Plane", $inf);
|
||||
$inf = preg_replace("", "Interface \\1", $inf);
|
||||
$inf = preg_replace("/^([0-9]+)$/", "Interface \\1", $inf);
|
||||
return $inf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user