Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Kea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
450
Issues
450
List
Boards
Labels
Service Desk
Milestones
Merge Requests
75
Merge Requests
75
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
Kea
Commits
67e047df
Commit
67e047df
authored
Jun 28, 2019
by
Thomas Markwalder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
#651
,
!384
] Fixed unit test
parent
586839c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
+2
-2
No files found.
src/lib/dhcpsrv/tests/generic_lease_mgr_unittest.cc
View file @
67e047df
...
...
@@ -1572,14 +1572,14 @@ GenericLeaseMgrTest::testLease6LargeIaidCheck() {
DuidPtr
duid
(
new
DUID
(
vector
<
uint8_t
>
(
8
,
0x77
)));
IOAddress
addr
(
std
::
string
(
"2001:db8:1::111"
));
SubnetID
subnet_id
=
8
;
// radom number
SubnetID
subnet_id
=
8
;
// ra
n
dom number
// Use a value we know is larger than 32-bit signed max.
uint32_t
large_iaid
=
0xFFFFFFFE
;
// We should be able to add with no problems.
Lease6Ptr
lease
(
new
Lease6
(
Lease
::
TYPE_NA
,
addr
,
duid
,
large_iaid
,
100
,
200
,
0
,
0
,
subnet_id
));
100
,
200
,
subnet_id
));
ASSERT_TRUE
(
lmptr_
->
addLease
(
lease
));
// Sanity check that we added it.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment