]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3682] Compilation fix.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 16 Nov 2015 19:41:27 +0000 (20:41 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 16 Nov 2015 19:41:27 +0000 (20:41 +0100)
src/lib/dhcpsrv/mysql_host_data_source.cc

index acd7ab6c4b9bde40143aeb8f01ac4b95ea6a31bf..b5cc8c70bef6a049c5dd21a8d5877b951fe313b8 100644 (file)
@@ -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