summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcp/option6_client_fqdn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/dhcp/option6_client_fqdn.h')
-rw-r--r--src/lib/dhcp/option6_client_fqdn.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dhcp/option6_client_fqdn.h b/src/lib/dhcp/option6_client_fqdn.h
index fae7b312f0..3f7d5f6c9c 100644
--- a/src/lib/dhcp/option6_client_fqdn.h
+++ b/src/lib/dhcp/option6_client_fqdn.h
@@ -217,7 +217,7 @@ public:
/// @brief Writes option in the wire format into a buffer.
///
/// @param [out] buf output buffer where option data will be stored.
- virtual void pack(isc::util::OutputBuffer& buf);
+ virtual void pack(isc::util::OutputBuffer& buf) const;
/// @brief Parses option from the received buffer.
///
@@ -240,13 +240,13 @@ public:
/// @param indent number of spaces before printed text.
///
/// @return string with text representation.
- virtual std::string toText(int indent = 0);
+ virtual std::string toText(int indent = 0) const;
/// @brief Returns length of the complete option (data length +
/// DHCPv6 option header).
///
/// @return length of the option.
- virtual uint16_t len();
+ virtual uint16_t len() const;
private: