summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/option_vendor_class.h
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2016-06-24 13:32:39 +0200
committerMarcin Siodelski <marcin@isc.org>2016-07-08 07:50:19 +0200
commit90615322d44e2015ff1dffa0b7c5fbc0723d7bad (patch)
tree2b4eeedbd0ee3967e9648584bee1bd478fe49552 /src/lib/dhcp/option_vendor_class.h
parent[4497] Fix constness of methods in Option classes. (diff)
downloadkea-90615322d44e2015ff1dffa0b7c5fbc0723d7bad.tar.xz
kea-90615322d44e2015ff1dffa0b7c5fbc0723d7bad.zip
[4497] Implemented deep copy of DHCP options.
Diffstat (limited to 'src/lib/dhcp/option_vendor_class.h')
-rw-r--r--src/lib/dhcp/option_vendor_class.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dhcp/option_vendor_class.h b/src/lib/dhcp/option_vendor_class.h
index 2018c838fd..b00f9f189c 100644
--- a/src/lib/dhcp/option_vendor_class.h
+++ b/src/lib/dhcp/option_vendor_class.h
@@ -69,6 +69,8 @@ public:
OptionVendorClass(Option::Universe u, OptionBufferConstIter begin,
OptionBufferConstIter end);
+ OptionPtr clone() const;
+
/// @brief Renders option into the buffer in the wire format.
///
/// @param [out] buf Buffer to which the option is rendered.