Parcourir la source

Merge branch 'trac3099'

Shane Kerr il y a 11 ans
Parent
commit
0ba8bbabe0
2 fichiers modifiés avec 5 ajouts et 4 suppressions
  1. 2 1
      src/bin/xfrin/xfrin.py.in
  2. 3 3
      src/bin/xfrin/xfrin_messages.mes

+ 2 - 1
src/bin/xfrin/xfrin.py.in

@@ -727,8 +727,9 @@ class XfrinConnection(asyncore.dispatcher):
             self.connect(self._master_addrinfo[2])
             self.connect(self._master_addrinfo[2])
             return True
             return True
         except socket.error as e:
         except socket.error as e:
-            logger.error(XFRIN_CONNECT_MASTER, self.tsig_key_name,
+            logger.error(XFRIN_CONNECT_MASTER,
                          self._master_addrinfo[2],
                          self._master_addrinfo[2],
+                         self._zone_name.to_text(),
                          str(e))
                          str(e))
             return False
             return False
 
 

+ 3 - 3
src/bin/xfrin/xfrin_messages.mes

@@ -56,9 +56,9 @@ most likely cause is that xfrin the msgq daemon is not running.
 There was an error while the given command was being processed. The
 There was an error while the given command was being processed. The
 error is given in the log message.
 error is given in the log message.
 
 
-% XFRIN_CONNECT_MASTER (with TSIG %1) error connecting to master at %2: %3
-There was an error opening a connection to the master. The error is
-shown in the log message.
+% XFRIN_CONNECT_MASTER error connecting to master at %1 for %2: %3
+There was an error opening a connection to the master for the specified
+zone. The error is shown in the log message.
 
 
 % XFRIN_DATASRC_CONFIG_ERROR failed to update data source configuration: %1
 % XFRIN_DATASRC_CONFIG_ERROR failed to update data source configuration: %1
 Configuration for the global data sources is updated, but the update
 Configuration for the global data sources is updated, but the update