Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
299e3835
Commit
299e3835
authored
Mar 14, 2016
by
Francis Dupont
Browse files
[4326] Fixed Coverity CID 1327378 (needs a second view)
parent
51e03014
Changes
1
Show whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/tests/alloc_engine_expiration_unittest.cc
View file @
299e3835
// Copyright (C) 2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2015
-2016
Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
...
...
@@ -1854,7 +1854,7 @@ void
ExpirationAllocEngine4Test
::
setUniqueClientId
(
const
uint16_t
index
)
{
std
::
ostringstream
clientid_s
;
clientid_s
<<
"AA:BB:"
<<
std
::
setw
(
2
)
<<
std
::
setfill
(
'0'
)
<<
(
index
>>
16
)
<<
":"
<<
std
::
setw
(
2
)
<<
std
::
setfill
(
'0'
)
<<
(
index
>>
8
)
<<
":"
<<
std
::
setw
(
2
)
<<
std
::
setfill
(
'0'
)
<<
(
index
&
0x00FF
);
ClientIdPtr
client_id
(
ClientId
::
fromText
(
clientid_s
.
str
()));
leases_
[
index
]
->
client_id_
=
client_id
;
...
...
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