Code

Updated service
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Aug 2007 07:34:39 +0000 (07:34 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 9 Aug 2007 07:34:39 +0000 (07:34 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7013 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_dhcpService.inc

index 940ea71094c5f48e2f1730ed0515dcf3c017c48c..74eb7f26ea64d9c60ce5a46e10464074bdbae6ad 100644 (file)
@@ -166,6 +166,7 @@ class dhcpService extends dhcpPlugin
     dhcpPlugin::save();
 
     $this->attrs['dhcpPrimaryDN']= array($this->dhcpPrimaryDN);
+    $this->removeOption('server-name');
     $this->attrs['dhcpOption'][]= "server-name $server_name";
 
     return ($this->attrs);