From 63f1d8aa27cd58a798acc351e69fa36d9ef810b6 Mon Sep 17 00:00:00 2001
From: gbellato <gbellato@localhost>
Date: Fri, 04 May 2007 16:13:32 +0000
Subject: [PATCH] Fixes for the 2 replication problems : 

---
 opends/src/server/org/opends/server/messages/ReplicationMessages.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ReplicationMessages.java b/opends/src/server/org/opends/server/messages/ReplicationMessages.java
index a2dde6d..48f7704e 100644
--- a/opends/src/server/org/opends/server/messages/ReplicationMessages.java
+++ b/opends/src/server/org/opends/server/messages/ReplicationMessages.java
@@ -361,6 +361,13 @@
     CATEGORY_MASK_SYNC | SEVERITY_MASK_SEVERE_ERROR | 50;
 
   /**
+   * The message ID for the message that will be used when
+   * a replication server hostname cannot be resolved as an IP address.
+   */
+  public static final int  MSGID_COULD_NOT_SOLVE_HOSTNAME =
+    CATEGORY_MASK_SYNC | SEVERITY_MASK_SEVERE_ERROR | 51;
+
+  /**
    * Register the messages from this class in the core server.
    *
    */
@@ -495,5 +502,7 @@
         "Multiple domains match the base DN provided");
     registerMessage(MSGID_INVALID_PROVIDER,
         "The provider class does not allow the operation requested");
+    registerMessage(MSGID_COULD_NOT_SOLVE_HOSTNAME,
+        "The hostname %s could not be resolved as an IP address");
   }
 }

--
Gitblit v1.10.0