diff options
author | Francis Dupont <fdupont@isc.org> | 2019-06-04 15:14:02 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2019-07-16 14:50:26 +0200 |
commit | f3acc8d583702b331c7e79c5ad254ee9ae6afe70 (patch) | |
tree | 95041ef8b8a8a10239642fabe1219a97ef5643a6 /src | |
parent | [606-drop-packets-in-drop-class] Added ChangeLog entry for DROP class (diff) | |
download | kea-f3acc8d583702b331c7e79c5ad254ee9ae6afe70.tar.xz kea-f3acc8d583702b331c7e79c5ad254ee9ae6afe70.zip |
[73-fix-covery-CID-1442796] Added initialization to 0 to next_host_id_ field of CfgHost
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/dhcpsrv/cfg_hosts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/cfg_hosts.h b/src/lib/dhcpsrv/cfg_hosts.h index b2d400aaa8..2f0fb862c8 100644 --- a/src/lib/dhcpsrv/cfg_hosts.h +++ b/src/lib/dhcpsrv/cfg_hosts.h @@ -633,7 +633,7 @@ private: virtual void add6(const HostPtr& host); /// @brief Next host id. - uint64_t next_host_id_; + uint64_t next_host_id_ = 0; /// @brief Multi-index container holding @c Host objects. /// |