From: Razvan Becheriu Date: Fri, 12 Apr 2019 12:34:59 +0000 (+0300) Subject: minor changes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=793c7ac2cc924e14cc9523041a0fd06c4af1dc11;p=thirdparty%2Fkea.git minor changes --- diff --git a/src/bin/dhcp4/ctrl_dhcp4_srv.cc b/src/bin/dhcp4/ctrl_dhcp4_srv.cc index eb94f087a6..2ad03328b0 100644 --- a/src/bin/dhcp4/ctrl_dhcp4_srv.cc +++ b/src/bin/dhcp4/ctrl_dhcp4_srv.cc @@ -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 diff --git a/src/bin/dhcp4/dhcp4_srv.h b/src/bin/dhcp4/dhcp4_srv.h index 5584da8087..7364f74df2 100644 --- a/src/bin/dhcp4/dhcp4_srv.h +++ b/src/bin/dhcp4/dhcp4_srv.h @@ -17,9 +17,8 @@ #include #include #include -#include -#include #include +#include #include #include #include