BIND 10 trac452, updated. f0b6f321beecb5145776a730461b61426a52a4f1 [trac452] Modified error message: display the limitation explicitly

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Feb 4 05:45:24 UTC 2011


The branch, trac452 has been updated
       via  f0b6f321beecb5145776a730461b61426a52a4f1 (commit)
      from  3048f118d4b4c9995d7ee258c9405f9d7abbc576 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f0b6f321beecb5145776a730461b61426a52a4f1
Author: Yoshitaka Aharen <aharen at jprs.co.jp>
Date:   Fri Feb 4 14:41:09 2011 +0900

    [trac452] Modified error message: display the limitation explicitly

-----------------------------------------------------------------------

Summary of changes:
 src/bin/auth/config.cc |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/config.cc b/src/bin/auth/config.cc
index 1593194..5befc6e 100644
--- a/src/bin/auth/config.cc
+++ b/src/bin/auth/config.cc
@@ -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, "negative statistics interval value: "
+            isc_throw(AuthConfigError, "Negative 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;
     }




More information about the bind10-changes mailing list