git-svn-id: http://www.observium.org/svn/observer/trunk@76 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-04-08 21:37:32 +00:00
parent 98f1aa1351
commit 4e93fd0dd1
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -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;
}