diff options
author | Marcin Siodelski <marcin@isc.org> | 2019-01-28 20:14:59 +0100 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2019-01-30 10:18:59 +0100 |
commit | 84d9d7a40155cab5ed14f63f5734a7e53b13b4cf (patch) | |
tree | 6905e24b9afc86662a24c1119e3f08ec07768844 /src/lib/dhcpsrv/cfg_option.h | |
parent | [#396,!205] Use microsec precision for the CB tables. (diff) | |
download | kea-84d9d7a40155cab5ed14f63f5734a7e53b13b4cf.tar.xz kea-84d9d7a40155cab5ed14f63f5734a7e53b13b4cf.zip |
[#396,!205] Audit revision timestamp is set by Kea.
Diffstat (limited to 'src/lib/dhcpsrv/cfg_option.h')
-rw-r--r-- | src/lib/dhcpsrv/cfg_option.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/dhcpsrv/cfg_option.h b/src/lib/dhcpsrv/cfg_option.h index 92a6c4ee92..600321f7a8 100644 --- a/src/lib/dhcpsrv/cfg_option.h +++ b/src/lib/dhcpsrv/cfg_option.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2018 Internet Systems Consortium, Inc. ("ISC") +// Copyright (C) 2014-2019 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -80,7 +80,7 @@ public: OptionDescriptor(const OptionPtr& opt, bool persist, const std::string& formatted_value = "", data::ConstElementPtr user_context = data::ConstElementPtr()) - : option_(opt), persistent_(persist), + : data::StampedElement(), option_(opt), persistent_(persist), formatted_value_(formatted_value), space_name_() { setContext(user_context); @@ -90,14 +90,15 @@ public: /// /// @param persist if true option is always sent. OptionDescriptor(bool persist) - : option_(OptionPtr()), persistent_(persist), + : data::StampedElement(), option_(OptionPtr()), persistent_(persist), formatted_value_(), space_name_() {}; /// @brief Constructor. /// /// @param desc descriptor OptionDescriptor(const OptionDescriptor& desc) - : option_(desc.option_), persistent_(desc.persistent_), + : data::StampedElement(), option_(desc.option_), + persistent_(desc.persistent_), formatted_value_(desc.formatted_value_), space_name_(desc.space_name_) { setContext(desc.getContext()); |