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
9c2193e3
Commit
9c2193e3
authored
Dec 11, 2012
by
Tomek Mrugalski
🛰
Browse files
[2270] dhcp6 now handles reconfigures better (reverted clear() on defaults)
parent
7e8e8bca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp6/config_parser.cc
View file @
9c2193e3
...
...
@@ -157,7 +157,7 @@ public:
isc_throw
(
BadValue
,
"Failed to parse value "
<<
value
->
str
()
<<
" as unsigned 32-bit integer."
);
}
storage_
->
insert
(
pair
<
string
,
uint32_t
>
(
param_name_
,
value_
))
;
(
*
storage_
)[
param_name_
]
=
value_
;
}
/// @brief does nothing
...
...
@@ -227,7 +227,7 @@ public:
virtual
void
build
(
ConstElementPtr
value
)
{
value_
=
value
->
str
();
boost
::
erase_all
(
value_
,
"
\"
"
);
storage_
->
insert
(
pair
<
string
,
string
>
(
param_name_
,
value_
))
;
(
*
storage_
)[
param_name_
]
=
value_
;
}
/// @brief does nothing
...
...
@@ -757,10 +757,6 @@ configureDhcp6Server(Dhcpv6Srv& , ConstElementPtr config_set) {
return
(
answer
);
}
/// Let's wipe previous configuration defaults
uint32_defaults
.
clear
();
string_defaults
.
clear
();
/// @todo: append most essential info here (like "2 new subnets configured")
string
config_details
;
...
...
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