From fa0c6777d4497f2b6bef35a24d5e532a9c56a866 Mon Sep 17 00:00:00 2001 From: Marcel Jordense Date: Fri, 27 Mar 2020 14:51:13 +0100 Subject: [PATCH] Remove setting volatile secure writer to incorrect state Signed-off-by: Marcel Jordense --- src/core/ddsi/src/q_entity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ddsi/src/q_entity.c b/src/core/ddsi/src/q_entity.c index 23a64a9..f0fff03 100644 --- a/src/core/ddsi/src/q_entity.c +++ b/src/core/ddsi/src/q_entity.c @@ -3620,7 +3620,7 @@ static void new_writer_guid_common_init (struct writer *wr, const struct ddsi_se assert ((wr->xqos->durability.kind == DDS_DURABILITY_TRANSIENT_LOCAL) || (wr->e.guid.entityid.u == NN_ENTITYID_P2P_BUILTIN_PARTICIPANT_STATELESS_MESSAGE_WRITER)); } - wr->handle_as_transient_local = (wr->xqos->durability.kind == DDS_DURABILITY_TRANSIENT_LOCAL || wr->e.guid.entityid.u == NN_ENTITYID_P2P_BUILTIN_PARTICIPANT_VOLATILE_SECURE_WRITER); + wr->handle_as_transient_local = (wr->xqos->durability.kind == DDS_DURABILITY_TRANSIENT_LOCAL); wr->include_keyhash = wr->e.gv->config.generate_keyhash && ((wr->e.guid.entityid.u & NN_ENTITYID_KIND_MASK) == NN_ENTITYID_KIND_WRITER_WITH_KEY);