From b48ce50fdf4d73e8be3799e3a7c6c2bf9d1b2965 Mon Sep 17 00:00:00 2001
From: pgamba <pgamba@localhost>
Date: Sun, 02 Sep 2007 17:58:07 +0000
Subject: [PATCH] fix for #1733 & #845 - Initialization of replication

---
 opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java b/opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java
index f9e1fa1..2993c1e 100644
--- a/opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java
+++ b/opends/src/server/org/opends/server/replication/plugin/ReplicationMonitor.java
@@ -151,7 +151,10 @@
     attributes.add(attr);
 
     attributes.add(new Attribute("ssl-encryption",
-                                 String.valueOf(domain.isSessionEncrypted())));
+        String.valueOf(domain.isSessionEncrypted())));
+
+    attributes.add(new Attribute("generation-id",
+        String.valueOf(domain.getGenerationId())));
 
     return attributes;
 

--
Gitblit v1.10.0