mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 14:05:33 +00:00
[#2843] Addressed review comment
Used IPV6_ZERO_ADDRESS() instead of :: in the candidate addresss initialization.
This commit is contained in:
@@ -1006,7 +1006,7 @@ AllocEngine::allocateBestMatch(ClientContext6& ctx,
|
|||||||
++total_attempts;
|
++total_attempts;
|
||||||
|
|
||||||
auto allocator = subnet->getAllocator(ctx.currentIA().type_);
|
auto allocator = subnet->getAllocator(ctx.currentIA().type_);
|
||||||
IOAddress candidate("::");
|
IOAddress candidate = IOAddress::IPV6_ZERO_ADDRESS();
|
||||||
|
|
||||||
// The first step is to find out prefix length. It is 128 for
|
// The first step is to find out prefix length. It is 128 for
|
||||||
// non-PD leases.
|
// non-PD leases.
|
||||||
|
Reference in New Issue
Block a user