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
87808673
Commit
87808673
authored
Jun 14, 2013
by
Michal 'vorner' Vaner
Browse files
[2726] Suppress check for no exception on construction
parent
a5c5c9e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/server_common/portconfig.cc
View file @
87808673
...
@@ -49,6 +49,8 @@ parseAddresses(isc::data::ConstElementPtr addresses,
...
@@ -49,6 +49,8 @@ parseAddresses(isc::data::ConstElementPtr addresses,
"address and port"
);
"address and port"
);
}
}
try
{
try
{
// Just check, don't use the address for anything yet
// cppcheck-suppress unusedScopedObject
IOAddress
(
addr
->
stringValue
());
IOAddress
(
addr
->
stringValue
());
if
(
port
->
intValue
()
<
0
||
if
(
port
->
intValue
()
<
0
||
port
->
intValue
()
>
0xffff
)
{
port
->
intValue
()
>
0xffff
)
{
...
...
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