Buffalo hinzugefügt

This commit is contained in:
4ndr3 2015-01-18 22:25:35 +01:00
parent 10316f59ee
commit e233ea1530

View file

@ -156,6 +156,10 @@ function ff_hh_beautify_hw_name( $hw, $discard_vendor = '' ) {
$hw = str_replace( '-', ' ', $hw );
$hw = str_replace( 'linksys ', 'Linksys ', $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;
}