From: Tomek Mrugalski Date: Mon, 16 Nov 2015 19:41:27 +0000 (+0100) Subject: [3682] Compilation fix. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=878cb49281402e1072492f2d753e69f57330236e;p=thirdparty%2Fkea.git [3682] Compilation fix. --- diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index acd7ab6c4b..b5cc8c70be 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -698,6 +698,8 @@ MySqlHostDataSource::getAll(const HWAddrPtr& hwaddr, const DuidPtr& duid) const MYSQL_BIND inbind[2]; memset(inbind, 0, sizeof(inbind)); + uint8_t dhcp_identifier_type = 0; + if (duid){ // DUID // set proper dhcp_identifier_type