2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 22:45:18 +00:00

[#1333] rebased and fixed comments

This commit is contained in:
Razvan Becheriu
2020-08-28 14:34:03 +03:00
parent 8de716d33f
commit 28396543a8

View File

@@ -1892,9 +1892,8 @@ Lease6Ptr AllocEngine::createLease6(ClientContext6& ctx,
} else { } else {
// That is only fake (SOLICIT without rapid-commit) allocation // That is only fake (SOLICIT without rapid-commit) allocation
// It is for advertise only. We should not insert the lease // It is for advertise only. We should not insert the lease and callers
// into LeaseMgr and callers have already verified the lease // have already verified the lease does not exist in the database.
// does not exist in the database.
return (lease); return (lease);
} }
} }
@@ -3739,9 +3738,8 @@ AllocEngine::createLease4(const ClientContext4& ctx, const IOAddress& addr,
} else { } else {
// That is only fake (DISCOVER) allocation // That is only fake (DISCOVER) allocation
// It is for OFFER only. We should not insert the lease into LeaseMgr // It is for OFFER only. We should not insert the lease and callers
// and callers have already verified the lease does not exist // have already verified the lease does not exist in the database.
// in the database.
return (lease); return (lease);
} }
} }