Code

We're case sensitive? No...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Jun 2007 14:35:22 +0000 (14:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 29 Jun 2007 14:35:22 +0000 (14:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6748 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index bf608ae09714378c34aa8e93740479fbe80d1d0a..ddb9e1465caa15c773d0e9bd1c572256ab62065a 100644 (file)
@@ -2508,7 +2508,7 @@ function mac2company($mac)
     while (!feof($handle)) {
       $line = fgets($handle, 4096);
 
-      if (preg_match("/^$mac/", $line)){
+      if (preg_match("/^$mac/i", $line)){
         $vendor= substr($line, 32);
       }
     }