]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
minor changes
authorRazvan Becheriu <razvan@isc.org>
Fri, 12 Apr 2019 12:34:59 +0000 (15:34 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 12 Apr 2019 12:34:59 +0000 (15:34 +0300)
src/bin/dhcp4/ctrl_dhcp4_srv.cc
src/bin/dhcp4/dhcp4_srv.h

index eb94f087a6b4bcb11e7f75e590eb573cfb48e77b..2ad03328b04acd383d7c49968cf5334a60dbe5ca 100644 (file)
@@ -707,6 +707,10 @@ ControlledDhcpv4Srv::processConfig(isc::data::ConstElementPtr config) {
         }
     }
 
+    // Finally, we can commit runtime option definitions in libdhcp++. This is
+    // exception free.
+    LibDHCP::commitRuntimeOptionDefs();
+
     // This hook point notifies hooks libraries that the configuration of the
     // DHCPv4 server has completed. It provides the hook library with the pointer
     // to the common IO service object, new server configuration in the JSON
index 5584da80875df83916a79742023cd836c1e70457..7364f74df29f25c2e510407f3354c55a7471d45a 100644 (file)
@@ -17,9 +17,8 @@
 #include <dhcp_ddns/ncr_msg.h>
 #include <dhcpsrv/thread_pool.h>
 #include <dhcpsrv/alloc_engine.h>
-#include <dhcpsrv/cb_ctl_dhcp4.h>
-#include <dhcpsrv/cfg_option.h>
 #include <dhcpsrv/callout_handle_store.h>
+#include <dhcpsrv/cb_ctl_dhcp4.h>
 #include <dhcpsrv/cfg_option.h>
 #include <dhcpsrv/d2_client_mgr.h>
 #include <dhcpsrv/network_state.h>