mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 05:55:28 +00:00
[#2725] add check for prefixlen for non pd type
This commit is contained in:
@@ -1669,6 +1669,10 @@ public:
|
||||
<< "allowed.");
|
||||
}
|
||||
|
||||
if (type != Lease::TYPE_PD) {
|
||||
prefix_len_ = 128;
|
||||
}
|
||||
|
||||
// Set up DUID,
|
||||
DuidPtr duid_ptr(new DUID(duid_buffer_, duid_length_));
|
||||
|
||||
|
Reference in New Issue
Block a user