From ba6c03b4cb5d692c3c3ad0b1101c202dbb1c0168 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 23 Nov 2007 15:37:09 +0000 Subject: [PATCH] closes #269 - Just display a warning when Mac addresses are already in use git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7878 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_termDNS.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admin/systems/class_termDNS.inc b/plugins/admin/systems/class_termDNS.inc index 34f553660..88aa84602 100644 --- a/plugins/admin/systems/class_termDNS.inc +++ b/plugins/admin/systems/class_termDNS.inc @@ -479,7 +479,7 @@ class termDNS extends plugin if(!empty($this->macAddress) && $this->dhcp_is_Account && $this->macAddress != $this->orig_macAddress && in_array("mac:".$this->macAddress,$this->used_ip_mac)){ - $message[] =_("The specified MAC address is already in use."); + print_red(sprintf(_("The specified MAC address '%s' for this system '%s' is already in use."),$this->macAddress,$this->cn)); } /* Check if ip must be given -- 2.30.2