Code

Updated dhcp statement problem
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 09:00:14 +0000 (09:00 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 30 Jan 2008 09:00:14 +0000 (09:00 +0000)
-use-host-decl-names and get-lease-hostnames will now be resetted correctly

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8649 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_dhcpPlugin.inc

index a28e3958a2a6b43ece96678c285dadf2f1e921e3..b13083fb3f7431eaf0466f2047881c4293ccf9b5 100644 (file)
@@ -104,7 +104,7 @@ class dhcpPlugin extends plugin
     foreach (array("routers", "domain-name", "subnet-mask", "broadcast-address") as $toberemoved){
       unset($this->options[$toberemoved]);
     }
-    foreach (array("filename", "next-server") as $toberemoved){
+    foreach (array("filename", "next-server","get-lease-hostnames","use-host-decl-names") as $toberemoved){
       unset($this->statements[$toberemoved]);
     }