2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +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 {
// That is only fake (SOLICIT without rapid-commit) allocation
// It is for advertise only. We should not insert the lease
// into LeaseMgr and callers have already verified the lease
// does not exist in the database.
// It is for advertise only. We should not insert the lease and callers
// have already verified the lease does not exist in the database.
return (lease);
}
}
@@ -3739,9 +3738,8 @@ AllocEngine::createLease4(const ClientContext4& ctx, const IOAddress& addr,
} else {
// That is only fake (DISCOVER) allocation
// It is for OFFER only. We should not insert the lease into LeaseMgr
// and callers have already verified the lease does not exist
// in the database.
// It is for OFFER only. We should not insert the lease and callers
// have already verified the lease does not exist in the database.
return (lease);
}
}