From: hickert Date: Fri, 23 Nov 2007 15:37:09 +0000 (+0000) Subject: closes #269 - Just display a warning when Mac addresses are already in use X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ba6c03b4cb5d692c3c3ad0b1101c202dbb1c0168;p=gosa.git 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 --- 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