Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
12262c5d
Commit
12262c5d
authored
May 02, 2019
by
Thomas Markwalder
Browse files
[#591,!#313] Addressed review comments
parent
abfa55b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/tests/lease_file_loader_unittest.cc
View file @
12262c5d
...
...
@@ -255,7 +255,7 @@ public:
std
::
string
subnet_txt
,
SubnetID
subnet_id
,
CfgConsistency
::
LeaseSanity
sanity
,
bool
exp_present
,
SubnetID
exp_id
,
unsigned
int
prefix_len
=
0
)
{
unsigned
int
prefix_len
=
0
)
{
// Create the subnet and add it to configuration.
if
(
!
subnet_txt
.
empty
())
{
...
...
@@ -267,7 +267,7 @@ public:
file_content
<<
v6_hdr_
<<
lease
<<
",dd:de:ba:0d:1b:2e,"
<<
"300,300,"
<<
static_cast
<
int
>
(
lease_id
)
<<
",150,"
<<
static_cast
<
int
>
(
prefix_len
>
0
?
Lease
::
TYPE_PD
:
Lease
::
TYPE_NA
)
<<
(
prefix_len
>
0
?
Lease
::
TYPE_PD
:
Lease
::
TYPE_NA
)
<<
",8,"
<<
prefix_len
<<
",0,0,,,1,
\n
"
;
ASSERT_NO_THROW
(
CfgMgr
::
instance
().
getStagingCfg
()
->
getConsistency
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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