From 9d79615676a3ac180a05c7e6a2f68f168989b1d1 Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 29 Jun 2007 14:35:22 +0000 Subject: [PATCH] We're case sensitive? No... git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6748 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc b/include/functions.inc index bf608ae09..ddb9e1465 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -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); } } -- 2.30.2