Commit 6c785d6c authored by Francis Dupont's avatar Francis Dupont
Browse files

[897-add-infinite-valid-lifetime-for-bootp] Added comments about T1/T2 vs infinite valid lifetime

parent e219cc9d
......@@ -2335,6 +2335,7 @@ Dhcpv4Srv::assignLease(Dhcpv4Exchange& ex) {
}
}
/// @todo: Take care of the fact that the valid lifetime can be infinite.
void
Dhcpv4Srv::setTeeTimes(const Lease4Ptr& lease, const Subnet4Ptr& subnet, Pkt4Ptr resp) {
......
......@@ -3997,6 +3997,7 @@ void Dhcpv6Srv::discardPackets() {
HooksManager::clearParkingLots();
}
/// @todo: Take care of the fact that the valid lifetime can be infinite.
void
Dhcpv6Srv::setTeeTimes(uint32_t preferred_lft, const Subnet6Ptr& subnet, Option6IAPtr& resp) {
// Default T2 time to zero.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment