Buffalo hinzugefügt
This commit is contained in:
parent
10316f59ee
commit
e233ea1530
|
@ -156,6 +156,10 @@ function ff_hh_beautify_hw_name( $hw, $discard_vendor = '' ) {
|
||||||
$hw = str_replace( '-', ' ', $hw );
|
$hw = str_replace( '-', ' ', $hw );
|
||||||
$hw = str_replace( 'linksys ', 'Linksys ', $hw );
|
$hw = str_replace( 'linksys ', 'Linksys ', $hw );
|
||||||
$hw = str_replace( ' wrt', ' WRT-', $hw );
|
$hw = str_replace( ' wrt', ' WRT-', $hw );
|
||||||
|
} elseif ( ! strncmp( $hw, 'buffalo', 7 ) ) {
|
||||||
|
if ( $discard_vendor ) $hw = str_replace( $discard_vendor, '', $hw );
|
||||||
|
$hw = str_replace( 'wzr-', 'WZR-', $hw );
|
||||||
|
$hw = str_replace( '-', ' ', $hw );
|
||||||
}
|
}
|
||||||
return $hw;
|
return $hw;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue