Unverified Commit 22eef15a authored by zorun's avatar zorun Committed by GitHub
Browse files

Merge pull request #16 from chadcatlett/ccatlett/fix_kea_1.6.x

Fix for Kea 1.6.x
parents b417d3ff 70324215
......@@ -155,8 +155,6 @@ void extract_lease4(std::vector<std::string>& env, const Lease4Ptr lease)
env.push_back("KEA_LEASE4_HWADDR=" + lease->hwaddr_->toText(false));
env.push_back("KEA_LEASE4_HOSTNAME=" + lease->hostname_);
env.push_back("KEA_LEASE4_CLIENT_LAST_TRANSMISSION=" + std::to_string(lease->cltt_));
env.push_back("KEA_LEASE4_RENEW_TIMER=" + std::to_string(lease->t1_));
env.push_back("KEA_LEASE4_REBIND_TIMER=" + std::to_string(lease->t2_));
env.push_back("KEA_LEASE4_VALID_LIFETIME=" + std::to_string(lease->valid_lft_));
env.push_back("KEA_LEASE4_DEBUG=" + lease->toText());
}
......@@ -175,8 +173,6 @@ void extract_lease6(std::vector<std::string>& env, const Lease6Ptr lease)
env.push_back("KEA_LEASE6_HOSTNAME=" + lease->hostname_);
env.push_back("KEA_LEASE6_CLIENT_DUID=" + lease->duid_->toText());
env.push_back("KEA_LEASE6_CLIENT_LAST_TRANSMISSION=" + std::to_string(lease->cltt_));
env.push_back("KEA_LEASE6_RENEW_TIMER=" + std::to_string(lease->t1_));
env.push_back("KEA_LEASE6_REBIND_TIMER=" + std::to_string(lease->t2_));
env.push_back("KEA_LEASE6_VALID_LIFETIME=" + std::to_string(lease->valid_lft_));
env.push_back("KEA_LEASE6_PREFERRED_LIFETIME=" + std::to_string(lease->preferred_lft_));
env.push_back("KEA_LEASE6_IAID=" + std::to_string(lease->iaid_));
......
Supports Markdown
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