[svn] commit: r2630 - /branches/trac289/src/bin/auth/auth_srv.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Aug 4 11:38:27 UTC 2010


Author: zhanglikun
Date: Wed Aug  4 11:38:27 2010
New Revision: 2630

Log:
Let auth module send notify command to zone manager.

Modified:
    branches/trac289/src/bin/auth/auth_srv.cc

Modified: branches/trac289/src/bin/auth/auth_srv.cc
==============================================================================
--- branches/trac289/src/bin/auth/auth_srv.cc (original)
+++ branches/trac289/src/bin/auth/auth_srv.cc Wed Aug  4 11:38:27 2010
@@ -431,7 +431,7 @@
                 command_template_rrclass + question->getClass().toText() +
                 command_template_end);
         const unsigned int seq =
-            xfrin_session_->group_sendmsg(notify_command, "Xfrin",
+            xfrin_session_->group_sendmsg(notify_command, "Zonemgr",
                                           "*", "*");
         ElementPtr env, answer, parsed_answer;
         xfrin_session_->group_recvmsg(env, answer, false, seq);
@@ -439,14 +439,14 @@
         parsed_answer = parseAnswer(rcode, answer);
         if (rcode != 0) {
             if (verbose_mode_) {
-                cerr << "[b10-auth] failed to notify Xfrin: "
+                cerr << "[b10-auth] failed to notify Zonemgr: "
                      << parsed_answer->str() << endl; 
             }
             return (false);
         }
     } catch (const Exception& ex) {
         if (verbose_mode_) {
-            cerr << "[b10-auth] failed to notify Xfrin: " << ex.what() << endl;
+            cerr << "[b10-auth] failed to notify Zonemgr: " << ex.what() << endl;
         }
         return (false);
     }




More information about the bind10-changes mailing list