diff options
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"; |