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
be5a6dd4
Commit
be5a6dd4
authored
Aug 17, 2018
by
Francis Dupont
Browse files
[master] missing reference in catch
parent
561753ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcpsrv/parsers/dhcp_parsers.cc
View file @
be5a6dd4
...
...
@@ -570,7 +570,7 @@ SubnetConfigParser::createSubnet(ConstElementPtr params) {
unsigned
int
len
;
try
{
len
=
boost
::
lexical_cast
<
unsigned
int
>
(
subnet_txt
.
substr
(
pos
+
1
));
}
catch
(
const
boost
::
bad_lexical_cast
)
{
}
catch
(
const
boost
::
bad_lexical_cast
&
)
{
ConstElementPtr
elem
=
params
->
get
(
"subnet"
);
isc_throw
(
DhcpConfigError
,
"prefix length: '"
<<
subnet_txt
.
substr
(
pos
+
1
)
<<
"' is not an integer ("
...
...
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