mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 05:27:55 +00:00
[#2843] Addressed review comment
Used IPV6_ZERO_ADDRESS() instead of :: in the candidate addresss initialization.
This commit is contained in:
parent
64b902366f
commit
01ded4bedb
@ -1006,7 +1006,7 @@ AllocEngine::allocateBestMatch(ClientContext6& ctx,
|
||||
++total_attempts;
|
||||
|
||||
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
|
||||
// non-PD leases.
|
||||
|
Loading…
x
Reference in New Issue
Block a user