diff options
author | Marcin Siodelski <marcin@isc.org> | 2016-06-24 10:31:55 +0200 |
---|---|---|
committer | Marcin Siodelski <marcin@isc.org> | 2016-07-08 07:50:19 +0200 |
commit | ee88ec857c21b9de5a2a45d3ca05d37c6696cf78 (patch) | |
tree | 4b624f577226399f74285cdd1f27909ca89f3e10 /src/lib/dhcp/option6_iaaddr.h | |
parent | [master] Finished merge of trac4523 (vendor options in Renew and Rebind) (diff) | |
download | kea-ee88ec857c21b9de5a2a45d3ca05d37c6696cf78.tar.xz kea-ee88ec857c21b9de5a2a45d3ca05d37c6696cf78.zip |
[4497] Fix constness of methods in Option classes.
Diffstat (limited to 'src/lib/dhcp/option6_iaaddr.h')
-rw-r--r-- | src/lib/dhcp/option6_iaaddr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/dhcp/option6_iaaddr.h b/src/lib/dhcp/option6_iaaddr.h index 83996581b3..1425a4ce1f 100644 --- a/src/lib/dhcp/option6_iaaddr.h +++ b/src/lib/dhcp/option6_iaaddr.h @@ -52,7 +52,7 @@ public: /// byte after stored option. /// /// @param buf pointer to a buffer - void pack(isc::util::OutputBuffer& buf); + void pack(isc::util::OutputBuffer& buf) const; /// @brief Parses received buffer. /// @@ -67,7 +67,7 @@ public: /// /// @return string with text representation. virtual std::string - toText(int indent = 0); + toText(int indent = 0) const; /// sets address in this option. @@ -106,7 +106,7 @@ public: getValid() const { return valid_; } /// returns data length (data length + DHCPv4/DHCPv6 option header) - virtual uint16_t len(); + virtual uint16_t len() const; protected: /// contains an IPv6 address |