diff options
author | Tomek Mrugalski <tomasz@isc.org> | 2014-09-26 15:58:49 +0200 |
---|---|---|
committer | Tomek Mrugalski <tomasz@isc.org> | 2014-09-26 15:58:49 +0200 |
commit | e8f8dc467f88a9e89b1c3795572fab161cd63708 (patch) | |
tree | 37174e715012a0162e11046ec6703816a68afeaf /src/lib/dhcp/pkt6.cc | |
parent | [3546] Pkt class added. (diff) | |
download | kea-e8f8dc467f88a9e89b1c3795572fab161cd63708.tar.xz kea-e8f8dc467f88a9e89b1c3795572fab161cd63708.zip |
[3546] Missing pkt.cc added, several more methods moved.
Diffstat (limited to 'src/lib/dhcp/pkt6.cc')
-rw-r--r-- | src/lib/dhcp/pkt6.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/lib/dhcp/pkt6.cc b/src/lib/dhcp/pkt6.cc index 5bb1af766b..9e85ee0280 100644 --- a/src/lib/dhcp/pkt6.cc +++ b/src/lib/dhcp/pkt6.cc @@ -451,15 +451,6 @@ Pkt6::toText() { return tmp.str(); } -OptionPtr -Pkt6::getOption(uint16_t opt_type) { - isc::dhcp::OptionCollection::const_iterator x = options_.find(opt_type); - if (x!=options_.end()) { - return (*x).second; - } - return OptionPtr(); // NULL -} - isc::dhcp::OptionCollection Pkt6::getOptions(uint16_t opt_type) { isc::dhcp::OptionCollection found; @@ -473,15 +464,6 @@ Pkt6::getOptions(uint16_t opt_type) { return (found); } -void Pkt6::repack() { - buffer_out_.writeData(&data_[0], data_.size()); -} - -void -Pkt6::updateTimestamp() { - timestamp_ = boost::posix_time::microsec_clock::universal_time(); -} - const char* Pkt6::getName(uint8_t type) { static const char* CONFIRM = "CONFIRM"; |