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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user