genericify that, use it for mempools also

git-svn-id: http://www.observium.org/svn/observer/trunk@1316 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-07-08 23:30:52 +00:00
parent 8da13537f1
commit b3e2ae50ac
5 changed files with 5 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
<?php
function rewrite_processor_descr ($descr) {
function rewrite_entity_descr ($descr) {
$descr = str_replace("Distributed Forwarding Card", "DFC", $descr);
$descr = preg_replace("/7600 Series SPA Interface Processor-/", "SIP-", $descr);