From 459796336f95d56450c970b87575f22c871b4604 Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Fri, 10 Jun 2011 14:34:10 +0000
Subject: [PATCH] Partial fix for OPENDJ-194: Minor improvements to change log content and configuration

---
 opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java b/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
index 8232018..6f0e669 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ModifyDNMsg.java
@@ -23,6 +23,7 @@
  *
  *
  *      Copyright 2006-2010 Sun Microsystems, Inc.
+ *      Portions Copyright 2011 ForgeRock AS
  */
 package org.opends.server.replication.protocol;
 
@@ -327,7 +328,8 @@
   /**
    * {@inheritDoc}
    */
-  public byte[] getBytes_V4() throws UnsupportedEncodingException
+  public byte[] getBytes_V45(short reqProtocolVersion)
+      throws UnsupportedEncodingException
   {
     int bodyLength = 0;
     byte[] byteNewSuperior = null;
@@ -366,7 +368,7 @@
 
     /* encode the header in a byte[] large enough to also contain mods.. */
     byte[] encodedMsg = encodeHeader(MSG_TYPE_MODIFYDN, bodyLength,
-        ProtocolVersion.REPLICATION_PROTOCOL_V4);
+        reqProtocolVersion);
 
     int pos = encodedMsg.length - bodyLength;
 

--
Gitblit v1.10.0