From 81f8ca845c70a3ebc46d2286994daec24b6fbb8d Mon Sep 17 00:00:00 2001 From: cajus Date: Fri, 29 Jun 2007 10:26:33 +0000 Subject: [PATCH] Made it return something git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6745 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 1fa5e5dba..bf608ae09 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -2509,7 +2509,7 @@ function mac2company($mac) $line = fgets($handle, 4096); if (preg_match("/^$mac/", $line)){ - echo "$line
"; + $vendor= substr($line, 32); } } fclose($handle); -- 2.30.2