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
ISC Open Source Projects
Kea
Commits
408193e6
Commit
408193e6
authored
Jun 24, 2015
by
Francis Dupont
Browse files
[3919] moved local variables in their block
parent
b1232181
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/json_config_parser.cc
View file @
408193e6
...
...
@@ -194,13 +194,10 @@ public:
// Try to obtain the pool parameters. It will throw an exception if any
// of the required parameters are not present or invalid.
std
::
string
addr_str
;
uint32_t
prefix_len
;
uint32_t
delegated_len
;
try
{
addr_str
=
string_values_
->
getParam
(
"prefix"
);
prefix_len
=
uint32_values_
->
getParam
(
"prefix-len"
);
delegated_len
=
uint32_values_
->
getParam
(
"delegated-len"
);
std
::
string
addr_str
=
string_values_
->
getParam
(
"prefix"
);
uint32_t
prefix_len
=
uint32_values_
->
getParam
(
"prefix-len"
);
uint32_t
delegated_len
=
uint32_values_
->
getParam
(
"delegated-len"
);
// Attempt to construct the local pool.
pool_
.
reset
(
new
Pool6
(
Lease
::
TYPE_PD
,
IOAddress
(
addr_str
),
...
...
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