From 7008381ae6c2eb1fd67a1cc50b8e78dbc2fc78c6 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Fri, 20 Jul 2007 17:11:56 +0000
Subject: [PATCH] Fix for issue 2006.

---
 opends/src/server/org/opends/server/messages/ToolMessages.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ToolMessages.java b/opends/src/server/org/opends/server/messages/ToolMessages.java
index 8c1094a..adc3cd7 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -9143,7 +9143,13 @@
   public static final int MSGID_DSCFG_ERROR_UNABLE_TO_SET_NAMING_PROPERTY =
        CATEGORY_MASK_TOOLS | SEVERITY_MASK_SEVERE_ERROR | 1210;
 
-
+  /**
+   * The message ID for the message that will be used if the user specifies
+   * the same port for different protocols.  This takes as argument the value of
+   * the culprit port.
+   */
+  public static final int MSGID_CONFIGDS_PORT_ALREADY_SPECIFIED  =
+    CATEGORY_MASK_TOOLS | SEVERITY_MASK_SEVERE_ERROR | 1211;
 
   /**
    * Associates a set of generic messages with the message IDs defined in this
@@ -10476,6 +10482,9 @@
                     "Server configuration:  %s");
     registerMessage(MSGID_CONFIGDS_NO_CONFIG_CHANGES,
                     "ERROR:  No configuration changes were specified");
+    registerMessage(MSGID_CONFIGDS_PORT_ALREADY_SPECIFIED,
+                    "ERROR:  You have specified the value %s for different " +
+                    "ports.");
     registerMessage(MSGID_CONFIGDS_WROTE_UPDATED_CONFIG,
                     "Successfully wrote the updated Directory Server " +
                     "configuration");

--
Gitblit v1.10.0