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/ModifyMsg.java | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java b/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
index f15df16..daae6dc 100644
--- a/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
+++ b/opends/src/server/org/opends/server/replication/protocol/ModifyMsg.java
@@ -23,6 +23,7 @@
*
*
* Copyright 2006-2010 Sun Microsystems, Inc.
+ * Portions Copyright 2011 ForgeRock AS
*/
package org.opends.server.replication.protocol;
@@ -255,7 +256,8 @@
/**
* {@inheritDoc}
*/
- public byte[] getBytes_V4() throws UnsupportedEncodingException
+ public byte[] getBytes_V45(short reqProtocolVersion)
+ throws UnsupportedEncodingException
{
int bodyLength = 0;
byte[] byteModsLen =
@@ -270,7 +272,7 @@
/* encode the header in a byte[] large enough to also contain the mods */
byte [] encodedMsg = encodeHeader(MSG_TYPE_MODIFY, bodyLength,
- ProtocolVersion.REPLICATION_PROTOCOL_V4);
+ reqProtocolVersion);
int pos = encodedMsg.length - bodyLength;
pos = addByteArray(byteModsLen, encodedMsg, pos);
--
Gitblit v1.10.0