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
Sebastian Schrader
Kea
Commits
f0b6f321
Commit
f0b6f321
authored
Feb 04, 2011
by
Yoshitaka Aharen
Browse files
[trac452] Modified error message: display the limitation explicitly
parent
3048f118
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/config.cc
View file @
f0b6f321
...
...
@@ -179,12 +179,13 @@ public:
virtual
void
build
(
ConstElementPtr
config_value
)
{
const
int32_t
config_interval
=
config_value
->
intValue
();
if
(
config_interval
<
0
)
{
isc_throw
(
AuthConfigError
,
"
n
egative statistics interval value: "
isc_throw
(
AuthConfigError
,
"
N
egative statistics interval value: "
<<
config_interval
);
}
if
(
config_interval
>
86400
)
{
isc_throw
(
AuthConfigError
,
"Too long statistics interval value: "
<<
config_interval
);
isc_throw
(
AuthConfigError
,
"Statistics interval value "
<<
config_interval
<<
" must be equal to or shorter than 86400"
);
}
interval_
=
config_interval
;
}
...
...
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