|
@@ -287,7 +287,6 @@ AllocEngine::allocateAddress4(const SubnetPtr& subnet,
|
|
|
// Check if there's existing lease for that subnet/clientid/hwaddr combination.
|
|
|
Lease4Ptr existing = LeaseMgrFactory::instance().getLease4(*hwaddr, subnet->getID());
|
|
|
if (existing) {
|
|
|
- std::cout << "Got lease using HWADdr" << std::endl;
|
|
|
// We have a lease already. This is a returning client, probably after
|
|
|
// its reboot.
|
|
|
existing = renewLease4(subnet, clientid, hwaddr, existing, fake_allocation);
|
|
@@ -302,7 +301,6 @@ AllocEngine::allocateAddress4(const SubnetPtr& subnet,
|
|
|
if (clientid) {
|
|
|
existing = LeaseMgrFactory::instance().getLease4(*clientid, subnet->getID());
|
|
|
if (existing) {
|
|
|
- std::cout << "Got lease using Clientid" << std::endl;
|
|
|
// we have a lease already. This is a returning client, probably after
|
|
|
// its reboot.
|
|
|
existing = renewLease4(subnet, clientid, hwaddr, existing, fake_allocation);
|